Remove a hack for using an external compiler if cross compiling.
This commit is contained in:
parent
45457c7dd2
commit
a6b82b31b1
@ -16,27 +16,6 @@
|
||||
# after which config should be rerun for all machines.
|
||||
#
|
||||
|
||||
THIS_ARCH!= uname -m
|
||||
.if ${THIS_ARCH} != "sparc64"
|
||||
|
||||
TOOLPATH= /arch/sparc64/uberbaum/bin
|
||||
TOOLPREFIX= sparc64-deo-freebsd5-
|
||||
AR= ${TOOLPATH}/${TOOLPREFIX}ar
|
||||
CC= ${TOOLPATH}/${TOOLPREFIX}gcc
|
||||
LD= ${TOOLPATH}/${TOOLPREFIX}ld
|
||||
NM= ${TOOLPATH}/${TOOLPREFIX}nm
|
||||
OBJCOPY= ${TOOLPATH}/${TOOLPREFIX}objcopy
|
||||
OBJDUMP= ${TOOLPATH}/${TOOLPREFIX}objdump
|
||||
RANLIB= ${TOOLPATH}/${TOOLPREFIX}ranlib
|
||||
SIZE= ${TOOLPATH}/${TOOLPREFIX}size
|
||||
|
||||
COPT+= -B${TOOLPATH}/
|
||||
NO_CPU_COPTFLAGS=true
|
||||
|
||||
MACHINE_ARCH= sparc64
|
||||
|
||||
.endif # cross compiling
|
||||
|
||||
CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
|
||||
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
|
||||
-ansi
|
||||
|
Loading…
x
Reference in New Issue
Block a user