Turn optimizations back on (-O3)

This commit is contained in:
twistdroach 2024-04-23 21:25:48 -04:00
parent 68c3afedd1
commit c85db512d6

@ -87,7 +87,7 @@ FFF = /etc/redhat-release
ifneq ($(wildcard $(FFF)),)
OS_RHEL := true
STATIC :=
XMLDOCOPT := -O1
XMLDOCOPT := -O3
else
OS_DEB := true
# let's remove static now by default to be safe because we don't always
@ -98,11 +98,11 @@ STATIC := -Wno-misleading-indentation
# test if this is -O3. strange.
# Debian Jessie doesn't like -O3, it will core right away when spidering
# so change this to -O2 from -O3 as well.
XMLDOCOPT := -O1
XMLDOCOPT := -O3
endif
# Onlyjob: -O3 is _very_ unstable and causes segfaults all over (e.g. #172).
CC_OPT_ARG ?= -O0
CC_OPT_ARG ?= -O3
ifeq ("titan","$(HOST)")