Initial package for opengreedy OBS-URL: https://build.opensuse.org/request/show/913445 OBS-URL: https://build.opensuse.org/package/show/games/opengreedy?expand=0&rev=1
24 lines
617 B
Diff
24 lines
617 B
Diff
diff --git a/Build.mk b/Build.mk
|
|
index 60db796..5df1025 100644
|
|
--- a/Build.mk
|
|
+++ b/Build.mk
|
|
@@ -39,7 +39,7 @@ endif
|
|
ifeq ("$R","opt")
|
|
cflags+=-g0 -O3 -DNDEBUG -ffast-math -msse -mfpmath=sse
|
|
endif
|
|
-cflags+=-Wall -Werror -pipe
|
|
+cflags+=-pipe
|
|
cppflags+=-I$(CURDIR)
|
|
|
|
bins+=greedy
|
|
@@ -53,8 +53,7 @@ cppflags+=-I$(BASICS)/include
|
|
ldflags+=$(BASICS)/src/libb6.a
|
|
|
|
XMP_LITE?=$(abspath $(SROOT)/../libxmp-lite)
|
|
-cppflags-greedy+=-I$(XMP_LITE)/include/libxmp-lite
|
|
-ldflags-greedy+=$(XMP_LITE)/lib/libxmp-lite.a
|
|
+ldflags-greedy+=-lxmp
|
|
|
|
cppflags-greedy+=-DBUILD=\"$(BUILD)\"
|
|
cppflags-greedy+=-DVERSION=\"$(VERSION)\"
|