Commit c705d458 authored by Rafaël Carré's avatar Rafaël Carré

contrib: OSX: force AR/LD/STRIP/RANLIB

There is no host-prefixed version of these tools
parent 0714ff05
...@@ -94,6 +94,10 @@ OSX_VERSION=10.6 ...@@ -94,6 +94,10 @@ OSX_VERSION=10.6
MACOSX_SDK=/Developer/SDKs/MacOSX$(OSX_VERSION).sdk MACOSX_SDK=/Developer/SDKs/MacOSX$(OSX_VERSION).sdk
CC=gcc-4.2 CC=gcc-4.2
CXX=g++-4.2 CXX=g++-4.2
AR=ar
LD=ld
STRIP=strip
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 # FIXME
......
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