diff options
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..fee0853 --- /dev/null +++ b/config.mk @@ -0,0 +1,13 @@ +PREFIX = /usr +MANPREFIX = $(DATADIR)/man + +# These have not been extensively tested but appear to: +# * Produce produce false warnings +# * 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 = + +CFLAGS = -std=c99 -Wall -Wextra $(CCOPTIMISE) +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 +LDFLAGS = $(LDOPTIMISE) |