mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
In the cross case we need to provide TARGET_MACHINE.
This commit is contained in:
parent
bce9779110
commit
cb2a59bc57
1 changed files with 4 additions and 1 deletions
|
|
@ -10,6 +10,8 @@ BINDIR= /usr/libexec
|
|||
NOMAN=
|
||||
NOSHARED=yes
|
||||
|
||||
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
|
||||
|
||||
DPADD+= ${LIBCC_INT}
|
||||
LDADD+= ${LIBCC_INT}
|
||||
|
||||
|
|
@ -23,7 +25,8 @@ underscore.c: Makefile
|
|||
else \
|
||||
echo "int prepends_underscore = 0;" >>underscore.c; \
|
||||
fi
|
||||
# wrong to do this here, but easiest way out to duplicate gcc.c.
|
||||
@# wrong to do this here, but easiest way out to duplicate gcc.c.
|
||||
echo "#include <stdio.h>" >>underscore.c
|
||||
echo "char *xstrerror(int e) { return strerror(e); }" >>underscore.c
|
||||
rm -f tmp-dum.c tmp-dum.s
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue