FreeBSD: allow CC & FC to have different versions
authorMike Nolta <mike@nolta.net>
Mon, 21 May 2012 20:56:28 +0000 (16:56 -0400)
committerMike Nolta <mike@nolta.net>
Mon, 21 May 2012 20:56:28 +0000 (16:56 -0400)
exports/Makefile

index b50b521..40a3a7c 100644 (file)
@@ -121,7 +121,7 @@ so : ../$(LIBSONAME)
 ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c
        $(CC) $(CFLAGS)  -shared -o ../$(LIBSONAME) \
        -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
-       -Wl,--retain-symbols-file=linux.def $(EXTRALIB)
+       -Wl,--retain-symbols-file=linux.def $(FEXTRALIB) $(EXTRALIB)
        $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
        rm -f linktest