Makefiles: fix CFLAGS for OS X
This commit is contained in:
@@ -73,11 +73,11 @@ ifeq ($(OS),darwin)
|
|||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CCC ?= g++
|
CCC ?= g++
|
||||||
ifeq ($(CPU),powerpc)
|
ifeq ($(CPU),powerpc)
|
||||||
CFLAGS += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing
|
CFLAGS += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing -Wno-long-double
|
||||||
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -wno-long-double
|
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -Wno-long-double
|
||||||
else
|
else
|
||||||
CFLAGS += -pipe -fPIC -ffast-math -march=pentium-m -funsigned-char -fno-strict-aliasing
|
CFLAGS += -pipe -fPIC -ffast-math -march=pentium-m -funsigned-char -fno-strict-aliasing
|
||||||
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -wno-long-double
|
CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
|
||||||
endif
|
endif
|
||||||
# REL_CFLAGS += -O
|
# REL_CFLAGS += -O
|
||||||
# REL_CCFLAGS += -O2
|
# REL_CCFLAGS += -O2
|
||||||
|
Reference in New Issue
Block a user