mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Move some generic appending out of the config.mak
This commit is contained in:
parent
6d464f24a6
commit
afbc5344e0
3
Makefile
3
Makefile
|
@ -16,6 +16,9 @@ ifndef CONFIG_HOST
|
||||||
$(error Please run ./configure)
|
$(error Please run ./configure)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CFLAGS+=-I./include
|
||||||
|
LDFLAGS+=-L.
|
||||||
|
|
||||||
#Ultrasparc64 users experiencing SIGBUS should try the following gcc options
|
#Ultrasparc64 users experiencing SIGBUS should try the following gcc options
|
||||||
#(thanks to Robert Gibbon)
|
#(thanks to Robert Gibbon)
|
||||||
PLATOPTS_SPARC64=-mcpu=ultrasparc -pipe -fomit-frame-pointer -ffast-math -finline-functions -fweb -frename-registers -mapp-regs
|
PLATOPTS_SPARC64=-mcpu=ultrasparc -pipe -fomit-frame-pointer -ffast-math -finline-functions -fweb -frename-registers -mapp-regs
|
||||||
|
|
|
@ -6,7 +6,7 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
CC=@CC@
|
CC=@CC@
|
||||||
AR=@AR@
|
AR=@AR@
|
||||||
WINDRES=@WINDRES@
|
WINDRES=@WINDRES@
|
||||||
CFLAGS=@CFLAGS@ -I./include
|
CFLAGS=@CFLAGS@
|
||||||
LDFLAGS=@LDFLAGS@ -L.
|
LDFLAGS=@LDFLAGS@
|
||||||
LDLIBS_EXTRA=@LIBS@
|
LDLIBS_EXTRA=@LIBS@
|
||||||
TOOLS_ADDITIONAL=@TOOLS_ADDITIONAL@
|
TOOLS_ADDITIONAL=@TOOLS_ADDITIONAL@
|
||||||
|
|
|
@ -21,8 +21,8 @@ CONFIG_HOST=x86_64-w64-mingw32
|
||||||
CC=gcc
|
CC=gcc
|
||||||
AR=ar
|
AR=ar
|
||||||
WINDRES=windres
|
WINDRES=windres
|
||||||
CFLAGS=$CFLAGS -g -O2 -I./include
|
CFLAGS=$CFLAGS -g -O2
|
||||||
LDFLAGS=$LDFLAGS -L.
|
LDFLAGS=$LDFLAGS
|
||||||
LDLIBS_EXTRA=$LDLIBS
|
LDLIBS_EXTRA=$LDLIBS
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user