Changeset View
Changeset View
Standalone View
Standalone View
head/devel/powerpc64-gcc/Makefile
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
.if ${TARGETARCH} == "armv6" || ${TARGETARCH} == "aarch64" | .if ${TARGETARCH} == "armv6" || ${TARGETARCH} == "aarch64" | ||||
. if ${COMPILER_TYPE} == clang | . if ${COMPILER_TYPE} == clang | ||||
MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 | MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 | ||||
. endif | . endif | ||||
.endif | .endif | ||||
post-install: | post-install: | ||||
.for f in cpp gcov gcov-tool | .for f in cpp gcov gcov-dump gcov-tool | ||||
@if [ -f ${STAGEDIR}${PREFIX}/bin/$f ] ; then \ | @if [ -f ${STAGEDIR}${PREFIX}/bin/$f ] ; then \ | ||||
${MV} ${STAGEDIR}${PREFIX}/bin/$f \ | ${MV} ${STAGEDIR}${PREFIX}/bin/$f \ | ||||
${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-$f ; \ | ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-$f ; \ | ||||
fi | fi | ||||
.endfor | .endfor | ||||
.for f in c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-tool | .for f in c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool | ||||
@if [ ! -f ${STAGEDIR}${PREFIX}/man/man1/${GCC_TARGET}-$f.1 ] ; then \ | @if [ ! -f ${STAGEDIR}${PREFIX}/man/man1/${GCC_TARGET}-$f.1 ] ; then \ | ||||
if [ -f ${STAGEDIR}${PREFIX}/man/man1/$f.1 ] ; then \ | if [ -f ${STAGEDIR}${PREFIX}/man/man1/$f.1 ] ; then \ | ||||
${CP} ${STAGEDIR}${PREFIX}/man/man1/$f.1 \ | ${CP} ${STAGEDIR}${PREFIX}/man/man1/$f.1 \ | ||||
${STAGEDIR}${PREFIX}/man/man1/${GCC_TARGET}-$f.1 ; \ | ${STAGEDIR}${PREFIX}/man/man1/${GCC_TARGET}-$f.1 ; \ | ||||
fi \ | fi \ | ||||
fi | fi | ||||
@${RM} ${STAGEDIR}${PREFIX}/bin/$f | @${RM} ${STAGEDIR}${PREFIX}/bin/$f | ||||
@${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1 | @${RM} ${STAGEDIR}${PREFIX}/man/man1/$f.1 | ||||
Show All 17 Lines |