Displaying 2 results from an estimated 2 matches for "config_cflags".
2012 Dec 26
0
[PATCH] Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
...nGW-w64: x86_64-w64-mingw32
+ USE_ICONV := 0
+ PROC := x86_64
+ endif
+ else
+ PROC := $(shell uname -p)
+ endif
+endif
debug : BUILD = debug
valgrind : BUILD = debug
@@ -47,10 +73,33 @@ all default: $(DEFAULT_BUILD)
VERSION=\"1.2.1\"
+CONFIG_CFLAGS=-DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_CXX_VARARRAYS
-DHAVE_LANGINFO_CODESET -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
ifeq ($(OS),Darwin)
-CONFIG_CFLAGS=-DHAVE_STDINT_H -DHAVE_ICONV -DHAVE_CXX_VARARRAYS
-DHAVE_LANGINFO_CODESET -DFLAC__HAS_OGG -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D...
2012 Dec 27
4
[PATCH] Makefile.lite: Fix building with MSYS and MinGW(-w64), Improvements
...# override LINKAGE on OS X until we figure out how to get 'cc -static'
to work
ifeq ($(OS),Darwin)
-LINKAGE =
+LINKAGE = -arch $(PROC)
else
debug : LINKAGE = -static
valgrind : LINKAGE = -dynamic
@@ -47,10 +73,33 @@ all default: $(DEFAULT_BUILD)
VERSION=\"1.2.1\"
+CONFIG_CFLAGS=-DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_CXX_VARARRAYS
-DHAVE_LANGINFO_CODESET -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
ifeq ($(OS),Darwin)
-CONFIG_CFLAGS=-DHAVE_STDINT_H -DHAVE_ICONV -DHAVE_CXX_VARARRAYS
-DHAVE_LANGINFO_CODESET -DFLAC__HAS_OGG -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D...