forked from pool/gimp-dds
80b3b35de0
New package contributed by community: gimp plugin for dds support OBS-URL: https://build.opensuse.org/request/show/115383 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-dds?expand=0&rev=1
22 lines
575 B
Diff
22 lines
575 B
Diff
diff -Naur a/Makefile b/Makefile
|
|
--- a/Makefile 2012-04-14 10:41:07.499731273 -0500
|
|
+++ b/Makefile 2012-04-14 13:11:30.732103374 -0500
|
|
@@ -2,7 +2,7 @@
|
|
GIMPTOOL=gimptool-2.0
|
|
|
|
CC=gcc
|
|
-CFLAGS=-pipe -g -O2 -Wall $(shell pkg-config --cflags gtk+-2.0 gimp-2.0)
|
|
+CFLAGS=-pipe -g $(RPM_OPT_FLAGS) $(shell pkg-config --cflags gtk+-2.0 gimp-2.0)
|
|
|
|
OS=$(shell uname -s)
|
|
ifeq ($(OS), Linux)
|
|
@@ -21,7 +21,7 @@
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJS)
|
|
- $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $(TARGET)
|
|
+ $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -lm -o $(TARGET)
|
|
|
|
clean:
|
|
rm -f *.o $(TARGET)
|