aboutsummaryrefslogtreecommitdiffstats
path: root/optimised.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--optimised.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/optimised.mk b/optimised.mk
index 3891e85..272fda2 100644
--- a/optimised.mk
+++ b/optimised.mk
@@ -1,4 +1,4 @@
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
# These have not been extensively tested but appear to:
@@ -6,8 +6,10 @@ MANPREFIX = $(PREFIX)/share/man
# * Slowdown the library's performance
# -flto -flto-compression-level -flto-partition={1to1,balanced,mix,none} -flto-report -flto-report-wpa -fwpa
CCOPTIMISE = -falign-functions=0 -fkeep-inline-functions -fmerge-all-constants -Ofast
-LDOPTIMISE = -s
+LDOPTIMISE =
-CFLAGS = -std=c99 -Wall -Wextra $(CCOPTIMISE)
+CC = c99
+
+CFLAGS = -Wall -Wextra $(CCOPTIMISE)
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
LDFLAGS = $(LDOPTIMISE)