mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
OS X: Pass -Wno-narrowing only with GCC 4.3+, fixing arttool build on my setup.
git-svn-id: https://svn.eduke32.com/eduke32@3691 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
298da67e63
commit
e64ecfbf4f
1 changed files with 8 additions and 1 deletions
|
@ -270,7 +270,7 @@ endif
|
||||||
# compiler flags etc.
|
# compiler flags etc.
|
||||||
BASECFLAGS=
|
BASECFLAGS=
|
||||||
BASECONLYFLAGS=-Wimplicit -Wdeclaration-after-statement
|
BASECONLYFLAGS=-Wimplicit -Wdeclaration-after-statement
|
||||||
BASECXXFLAGS= -fno-exceptions -fno-rtti -fpermissive -Wno-write-strings -Wno-narrowing
|
BASECXXFLAGS= -fno-exceptions -fno-rtti -fpermissive -Wno-write-strings
|
||||||
BASEASFLAGS=-s #-g
|
BASEASFLAGS=-s #-g
|
||||||
BASELDFLAGS=
|
BASELDFLAGS=
|
||||||
|
|
||||||
|
@ -281,6 +281,13 @@ ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# XXX: I (Helixhorned) only know that there's no -Wnarrowing on my OS X 10.6 using GCC 4.2.
|
||||||
|
ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
|
||||||
|
ifeq (1,$(strip $(shell expr $(GCC_MINOR) \>= 3)))
|
||||||
|
BASECXXFLAGS+= -Wno-narrowing
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),WII)
|
ifeq ($(PLATFORM),WII)
|
||||||
override USE_LIBVPX = 0
|
override USE_LIBVPX = 0
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue