diff --git a/devel/freebsd-sysroot/files/powerpc64_elfv1-c++.in b/devel/freebsd-sysroot/files/powerpc64_elfv1-c++.in index 293a20c2f59e..2cb877d1c80c 100644 --- a/devel/freebsd-sysroot/files/powerpc64_elfv1-c++.in +++ b/devel/freebsd-sysroot/files/powerpc64_elfv1-c++.in @@ -1,4 +1,4 @@ #!/bin/sh : ${FREEBSD_SYSROOT_CXX:="%%FREEBSD_SYSROOT_CXX_ELFV1%%"} : ${FREEBSD_SYSROOT:="%%FREEBSD_SYSROOT%%"} -exec "${FREEBSD_SYSROOT_CXX}" --sysroot="${FREEBSD_SYSROOT}" -Wl,-rpath=/usr/local/lib/gcc9 -L"${FREEBSD_SYSROOT}/usr/local/lib/gcc9" -isystem="%%LOCALBASE%%/lib/gcc9/include/c++" -isystem="%%FREEBSD_SYSROOT_CXXINC_ELFV1%%" "$@" +exec "${FREEBSD_SYSROOT_CXX}" -mabi=elfv1 --sysroot="${FREEBSD_SYSROOT}" -Wl,-rpath=/usr/local/lib/gcc9 -L"${FREEBSD_SYSROOT}/usr/local/lib/gcc9" -isystem="%%LOCALBASE%%/lib/gcc9/include/c++" -isystem="%%FREEBSD_SYSROOT_CXXINC_ELFV1%%" "$@" diff --git a/devel/freebsd-sysroot/files/powerpc64_elfv1-cc.in b/devel/freebsd-sysroot/files/powerpc64_elfv1-cc.in index c7f09d85afba..2a6535da0cd0 100644 --- a/devel/freebsd-sysroot/files/powerpc64_elfv1-cc.in +++ b/devel/freebsd-sysroot/files/powerpc64_elfv1-cc.in @@ -1,4 +1,4 @@ #!/bin/sh : ${FREEBSD_SYSROOT_CC:="%%FREEBSD_SYSROOT_CC_ELFV1%%"} : ${FREEBSD_SYSROOT:="%%FREEBSD_SYSROOT%%"} -exec "${FREEBSD_SYSROOT_CC}" --sysroot="${FREEBSD_SYSROOT}" -Wl,-rpath=/usr/local/lib/gcc9 -L"${FREEBSD_SYSROOT}/usr/local/lib/gcc9" "$@" +exec "${FREEBSD_SYSROOT_CC}" -mabi=elfv1 --sysroot="${FREEBSD_SYSROOT}" -Wl,-rpath=/usr/local/lib/gcc9 -L"${FREEBSD_SYSROOT}/usr/local/lib/gcc9" "$@"