diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2011-10-29 20:40:15 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2011-10-29 20:40:15 +0000 |
commit | a41cd833bddfd6d5440ae8a0412ae375374e36a4 (patch) | |
tree | 251dc0754046ece2555c47244ea9978c0580fe7f /lang/libobjc2 | |
parent | Update to 2.3.4. (diff) |
- honor LDFLAGS
Notes
Notes:
svn path=/head/; revision=284679
Diffstat (limited to 'lang/libobjc2')
-rw-r--r-- | lang/libobjc2/files/patch-Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/libobjc2/files/patch-Makefile b/lang/libobjc2/files/patch-Makefile index d561210b7846..c8bcd01ecb12 100644 --- a/lang/libobjc2/files/patch-Makefile +++ b/lang/libobjc2/files/patch-Makefile @@ -25,17 +25,17 @@ libobjcxx.so.$(VERSION): libobjc.so.$(VERSION) $(OBJCXX_OBJECTS) @echo Linking shared Objective-C++ runtime library... - @$(CXX) -Wl,-shared -o $@ $(OBJCXX_OBJECTS) -lobjc -+ $(LD) -shared -o $@ $(OBJCXX_OBJECTS) -lobjc ++ $(LD) $(LDFLAGS) -shared -o $@ $(OBJCXX_OBJECTS) -lobjc libobjc.so.$(VERSION): $(OBJECTS) @echo Linking shared Objective-C runtime library... - @ld -shared -o $@ $(OBJECTS) -+ $(LD) -shared -o $@ $(OBJECTS) ++ $(LD) $(LDFLAGS) -shared -o $@ $(OBJECTS) libobjc.a: $(OBJECTS) @echo Linking static Objective-C runtime library... - @ld -r -s -o $@ $(OBJECTS) -+ $(LD) -r -s -o $@ $(OBJECTS) ++ $(LD) $(LDFLAGS) -r -s -o $@ $(OBJECTS) .cc.o: @echo Compiling `basename $<`... |