Move some generic appending out of the config.mak

This commit is contained in:
Hamish Coleman 2023-06-25 01:10:17 +01:00
parent 6d464f24a6
commit afbc5344e0
3 changed files with 7 additions and 4 deletions

View File

@ -16,6 +16,9 @@ ifndef CONFIG_HOST
$(error Please run ./configure)
endif
CFLAGS+=-I./include
LDFLAGS+=-L.
#Ultrasparc64 users experiencing SIGBUS should try the following gcc options
#(thanks to Robert Gibbon)
PLATOPTS_SPARC64=-mcpu=ultrasparc -pipe -fomit-frame-pointer -ffast-math -finline-functions -fweb -frename-registers -mapp-regs

View File

@ -6,7 +6,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
CC=@CC@
AR=@AR@
WINDRES=@WINDRES@
CFLAGS=@CFLAGS@ -I./include
LDFLAGS=@LDFLAGS@ -L.
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
LDLIBS_EXTRA=@LIBS@
TOOLS_ADDITIONAL=@TOOLS_ADDITIONAL@

View File

@ -21,8 +21,8 @@ CONFIG_HOST=x86_64-w64-mingw32
CC=gcc
AR=ar
WINDRES=windres
CFLAGS=$CFLAGS -g -O2 -I./include
LDFLAGS=$LDFLAGS -L.
CFLAGS=$CFLAGS -g -O2
LDFLAGS=$LDFLAGS
LDLIBS_EXTRA=$LDLIBS
EOF