Skip to content

Commit

Permalink
Fix native-xtools build
Browse files Browse the repository at this point in the history
Fixes		freebsd/poudriere#894
Fixes:		d0c737e ("Makefile: Fix MAKEOBJDIRPREFIX command-line")
X-MFC-With:	d0c737e
  • Loading branch information
bdrewery committed Aug 3, 2021
1 parent 2482ea4 commit b60770f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -2739,7 +2739,6 @@ SUBDIR= ${SUBDIR_OVERRIDE}
NXBMAKEARGS+= \
OBJTOP=${NXBOBJTOP:Q} \
OBJROOT=${NXBOBJROOT:Q} \
MAKEOBJDIRPREFIX= \
-DNO_SHARED \
-DNO_CPU_CFLAGS \
-DNO_PIC \
Expand All @@ -2763,6 +2762,9 @@ NXBMAKEARGS+= \
MK_WERROR=no \
MK_ZFS=no

NXBMAKEENV+= \
MAKEOBJDIRPREFIX=

.if make(native-xtools*) && \
(!defined(NXB_TARGET) || !defined(NXB_TARGET_ARCH))
.error Missing NXB_TARGET / NXB_TARGET_ARCH
Expand Down

0 comments on commit b60770f

Please sign in to comment.