mchoccac / snes9x-gtk

Automatically exported from code.google.com/p/snes9x-gtk
0 stars 0 forks source link

unix/Makefile.in ignores LDFLAGS when linking the snes9x binary #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Likewise with issue 43.

Original comment by bear...@gmail.com on 15 Mar 2010 at 9:32