You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-action/snipes/files/snipes-1.0.4-nongnulinker.p...

21 lines
711 B

--- a/Makefile 2011-12-18 17:24:28.795315064 +0100
+++ b/Makefile 2011-12-18 17:24:59.005311478 +0100
@@ -33,7 +33,7 @@
IMGOBJ = $(OIMGS:%.pbm=$(INTERMEDIATE)/%.o)
CFLAGS += `sdl-config --cflags` -I$(INTERMEDIATE)
-LDLIBS += `sdl-config --libs`
+LDLIBS += `sdl-config --libs` -lm
LDFLAGS += -Wl,-z,noexecstack
@@ -52,7 +52,7 @@
# Why does this result in an executable stack? Can I run my bitmaps? Do bitmaps behave like Conway's game of life, when run?
$(INTERMEDIATE)/%.o: $(IMG)/%.pbm
- $(LD) -r -b binary -z noexecstack -z really_noexecstack -z pretty_please_noexecstack -o $@ $<
+ $(LD) -r -b binary -z noexecstack -o $@ $<
snipes.6: snipes.6.in
sed s/'`VERSION`'/`cat VERSION`/ < $< > $@