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 | 51dbcd21cda0f8ed61be6c23f2dde0f07bb8d2d0 (diff) | |
download | ports-a41cd833bddfd6d5440ae8a0412ae375374e36a4.tar.gz ports-a41cd833bddfd6d5440ae8a0412ae375374e36a4.zip |
Notes
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 $<`... |