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-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch

22 lines
584 B

diff -ru pipepanic-0.1.3-source.orig/Makefile pipepanic-0.1.3-source/Makefile
--- pipepanic-0.1.3-source.orig/Makefile 2006-05-16 16:11:29.000000000 -0400
+++ pipepanic-0.1.3-source/Makefile 2009-11-03 13:38:52.109137983 -0500
@@ -3,15 +3,12 @@
TARGET=pipepanic
# Settings for x86.
-CC=gcc
-CFLAGS=-O2 -Wall -pedantic `sdl-config --cflags`
-LINK=gcc
-LDFLAGS=
+CFLAGS+=`sdl-config --cflags`
LIBS=`sdl-config --libs`
all:
$(CC) $(CFLAGS) -c $(SOURCES)
- $(LINK) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET)
+ $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET)
.PHONY: clean