diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-12 13:09:26 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-12 13:11:41 +0200 |
commit | e2692ef8e8975e4527fcd006a41959b3ea654921 (patch) | |
tree | 00baf93d72c4f0232f2837dce6362a7d045d2bc6 /main/st/cleanup-cflags.patch | |
parent | 37097a0000ebe9443aaf925b5b448701aa0fd57a (diff) | |
download | aports-e2692ef8e8975e4527fcd006a41959b3ea654921.tar.bz2 aports-e2692ef8e8975e4527fcd006a41959b3ea654921.tar.xz |
main/st: cleanup and don't compile with debugging information
Diffstat (limited to 'main/st/cleanup-cflags.patch')
-rw-r--r-- | main/st/cleanup-cflags.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/st/cleanup-cflags.patch b/main/st/cleanup-cflags.patch new file mode 100644 index 0000000000..bf9755a2ae --- /dev/null +++ b/main/st/cleanup-cflags.patch @@ -0,0 +1,14 @@ +diff -upr st-0.6.orig/config.mk st-0.6/config.mk +--- st-0.6.orig/config.mk 2016-07-11 00:41:11.428451510 +0200 ++++ st-0.6/config.mk 2016-07-11 00:41:49.134970777 +0200 +@@ -20,8 +20,8 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lm -l + + # flags + CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 +-CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS} +-LDFLAGS += -g ${LIBS} ++CFLAGS += -std=c99 -pedantic -Wall -Wvariadic-macros ${INCS} ${CPPFLAGS} ++LDFLAGS += ${LIBS} + + # compiler and linker + # CC = cc |