mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-28 13:42:37 +00:00
Remove two hunks in Makefile.patch which changes hardcoded CC and PREFIX
variables, because those can be changed from make command line now. See
e8702a6eaa
17 lines
693 B
Diff
17 lines
693 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -6,10 +6,10 @@
|
|
endif
|
|
GIT_COMMIT = $(shell git rev-parse --short HEAD)
|
|
|
|
-CFLAGS = -DNDEBUG -O2 -Wall -Wextra -fno-strict-aliasing
|
|
-override CFLAGS += $(shell curl-config --cflags) $(shell xml2-config --cflags)
|
|
+CFLAGS += -DNDEBUG -Wall -Wextra -fno-strict-aliasing
|
|
+override CFLAGS += $(shell sh @TERMUX_PREFIX@/bin/curl-config --cflags) $(shell sh @TERMUX_PREFIX@/bin/xml2-config --cflags)
|
|
|
|
-LDLIBS = $(shell curl-config --libs) $(shell xml2-config --libs) -lm
|
|
+LDLIBS = $(shell sh @TERMUX_PREFIX@/bin/curl-config --libs) $(shell sh @TERMUX_PREFIX@/bin/xml2-config --libs) -lm
|
|
ifeq ($(SYSTEM), Linux)
|
|
LDLIBS += -lseccomp
|
|
else ifeq ($(SYSTEM), FreeBSD)
|