If you need to export e.g. -Wl,-z,noexecstack to LDFLAGS it'd be nice if
the LDFLAGS is respected by the build-system.
--- unix/Makefile.in
+++ unix/Makefile.in
@@ -65,7 +65,7 @@
exit 1
snes9x: $(OBJECTS)
- $(CCC) $(INCLUDES) -o $@ $(OBJECTS) -lm @S9XLIBS@
+ $(CCC) $(LDFLAGS) $(INCLUDES) -o $@ $(OBJECTS) -lm @S9XLIBS@
../jma/s9x-jma.o: ../jma/s9x-jma.cpp
$(CCC) $(INCLUDES) -c $(CCFLAGS) -fexceptions $*.cpp -o $@
Original issue reported on code.google.com by ssuomi...@unk.fi on 14 Mar 2010 at 10:28
Original issue reported on code.google.com by
ssuomi...@unk.fi
on 14 Mar 2010 at 10:28