Commit 864b4291 authored by Rafaël Carré's avatar Rafaël Carré

contrib: add -m64 flags for OSX

parent 1a204d9f
...@@ -100,10 +100,15 @@ STRIP=strip ...@@ -100,10 +100,15 @@ STRIP=strip
RANLIB=ranlib RANLIB=ranlib
EXTRA_CFLAGS += -isysroot $(MACOSX_SDK) -mmacosx-version-min=$(OSX_VERSION) EXTRA_CFLAGS += -isysroot $(MACOSX_SDK) -mmacosx-version-min=$(OSX_VERSION)
EXTRA_LDFLAGS += -Wl,-syslibroot,$(MACOSX_SDK) -mmacosx-version-min=$(OSX_VERSION) -isysroot $(MACOSX_SDK) EXTRA_LDFLAGS += -Wl,-syslibroot,$(MACOSX_SDK) -mmacosx-version-min=$(OSX_VERSION) -isysroot $(MACOSX_SDK)
# FIXME #TODO ppc
ifeq ($(ARCH),x86_64)
EXTRA_CFLAGS += -m64
EXTRA_LDFLAGS += -m64
else
EXTRA_CFLAGS += -m32 EXTRA_CFLAGS += -m32
EXTRA_LDFLAGS += -m32 EXTRA_LDFLAGS += -m32
endif endif
endif
EXTRA_CFLAGS += -I$(PREFIX)/include EXTRA_CFLAGS += -I$(PREFIX)/include
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment