build: convert predefined $PLATFORM to lower case
This commit is contained in:
parent
fe2a3150c0
commit
96a2df8084
6
build.mk
6
build.mk
@ -18,7 +18,11 @@
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
# IN THE SOFTWARE.
|
||||
|
||||
PLATFORM ?= $(shell sh -c 'uname -s | tr "[A-Z]" "[a-z]"')
|
||||
ifdef PLATFORM
|
||||
override PLATFORM := $(shell echo $(PLATFORM) | tr "[A-Z]" "[a-z]")
|
||||
else
|
||||
PLATFORM = $(shell sh -c 'uname -s | tr "[A-Z]" "[a-z]"')
|
||||
endif
|
||||
|
||||
CPPFLAGS += -I$(SRCDIR)/include -I$(SRCDIR)/include/uv-private
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user