mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
Move some cflag contents down to where they are acutally used.
This commit is contained in:
parent
8048917432
commit
658cec5b94
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57965
@ -28,8 +28,6 @@ USE_EGCS_HAIFA= 1
|
||||
version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c
|
||||
|
||||
CFLAGS+= -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H
|
||||
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
|
||||
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
|
||||
CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\"
|
||||
.if defined(LONG_TYPE_SIZE)
|
||||
CFLAGS+= -DLONG_TYPE_SIZE=${LONG_TYPE_SIZE}
|
||||
|
@ -10,6 +10,9 @@ LINKS= ${BINDIR}/c++ ${BINDIR}/g++
|
||||
LINKS+= ${BINDIR}/c++ ${BINDIR}/CC
|
||||
NOMAN= 1
|
||||
|
||||
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
|
||||
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
|
||||
|
||||
DPADD+= ${LIBCC_INT} ${LIBCC_FBSD}
|
||||
LDADD+= ${LIBCC_INT} ${LIBCC_FBSD}
|
||||
|
||||
|
@ -11,6 +11,9 @@ SRCS= gcc.c gccspec.c
|
||||
LINKS= ${BINDIR}/cc ${BINDIR}/gcc
|
||||
MLINKS= gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1
|
||||
|
||||
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
|
||||
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
|
||||
|
||||
DPADD+= ${LIBCC_INT} ${LIBCC_FBSD}
|
||||
LDADD+= ${LIBCC_INT} ${LIBCC_FBSD}
|
||||
|
||||
|
@ -8,6 +8,9 @@ PROG= cpp
|
||||
SRCS= gcc.c cppspec.c
|
||||
NOMAN= 1
|
||||
|
||||
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
|
||||
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
|
||||
|
||||
DPADD+= ${LIBCC_INT} ${LIBCC_FBSD}
|
||||
LDADD+= ${LIBCC_INT} ${LIBCC_FBSD}
|
||||
|
||||
|
@ -7,6 +7,9 @@
|
||||
PROG= f77
|
||||
SRCS= gcc.c g77spec.c version.c
|
||||
|
||||
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
|
||||
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
|
||||
|
||||
DPADD+= ${LIBCC_INT} ${LIBCC_FBSD}
|
||||
LDADD+= ${LIBCC_INT} ${LIBCC_FBSD}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user