aboutsummaryrefslogtreecommitdiff
path: root/lang/libobjc2
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-10-29 20:40:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-10-29 20:40:15 +0000
commita41cd833bddfd6d5440ae8a0412ae375374e36a4 (patch)
tree251dc0754046ece2555c47244ea9978c0580fe7f /lang/libobjc2
parent51dbcd21cda0f8ed61be6c23f2dde0f07bb8d2d0 (diff)
downloadports-a41cd833bddfd6d5440ae8a0412ae375374e36a4.tar.gz
ports-a41cd833bddfd6d5440ae8a0412ae375374e36a4.zip
Notes
Diffstat (limited to 'lang/libobjc2')
-rw-r--r--lang/libobjc2/files/patch-Makefile6
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 $<`...