diff options
author | jlam <jlam> | 2005-01-12 17:40:48 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-01-12 17:40:48 +0000 |
commit | 9a66139e5344c18d4508c32f428c10970aebe154 (patch) | |
tree | 760b30b323c193d445effc5a3a4dd068b53b2116 /mk/compiler | |
parent | dd9bf770d6fc8d12430f59054cd429a4083272fa (diff) | |
download | pkgsrc-9a66139e5344c18d4508c32f428c10970aebe154.tar.gz |
Whitespace.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/sunpro.mk | 26 | ||||
-rw-r--r-- | mk/compiler/xlc.mk | 34 |
2 files changed, 30 insertions, 30 deletions
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk index 7d17ae0d2c6..251530660c4 100644 --- a/mk/compiler/sunpro.mk +++ b/mk/compiler/sunpro.mk @@ -1,4 +1,4 @@ -# $NetBSD: sunpro.mk,v 1.29 2005/01/12 17:30:34 jlam Exp $ +# $NetBSD: sunpro.mk,v 1.30 2005/01/12 17:40:48 jlam Exp $ .if !defined(COMPILER_SUNPRO_MK) COMPILER_SUNPRO_MK= defined @@ -17,21 +17,21 @@ _LANGUAGES.sunpro= # empty _LANGUAGES.sunpro+= ${LANGUAGES.sunpro:M${_lang_}} .endfor -_SUNPRO_DIR= ${WRKDIR}/.sunpro -_SUNPRO_VARS= # empty +_SUNPRO_DIR= ${WRKDIR}/.sunpro +_SUNPRO_VARS= # empty .if exists(${SUNWSPROBASE}/bin/cc) -_SUNPRO_VARS+= CC -_SUNPRO_CC= ${_SUNPRO_DIR}/bin/cc -_ALIASES.CC= cc -CCPATH= ${SUNWSPROBASE}/bin/cc -PKG_CC:= ${_SUNPRO_CC} +_SUNPRO_VARS+= CC +_SUNPRO_CC= ${_SUNPRO_DIR}/bin/cc +_ALIASES.CC= cc +CCPATH= ${SUNWSPROBASE}/bin/cc +PKG_CC:= ${_SUNPRO_CC} .endif .if exists(${SUNWSPROBASE}/bin/CC) -_SUNPRO_VARS+= CXX -_SUNPRO_CXX= ${_SUNPRO_DIR}/bin/CC -_ALIASES.CXX= CC c++ -CXXPATH= ${SUNWSPROBASE}/bin/CC -PKG_CXX:= ${_SUNPRO_CXX} +_SUNPRO_VARS+= CXX +_SUNPRO_CXX= ${_SUNPRO_DIR}/bin/CC +_ALIASES.CXX= CC c++ +CXXPATH= ${SUNWSPROBASE}/bin/CC +PKG_CXX:= ${_SUNPRO_CXX} .endif _COMPILER_STRIP_VARS+= ${_SUNPRO_VARS} diff --git a/mk/compiler/xlc.mk b/mk/compiler/xlc.mk index acb75386696..bd072db2422 100644 --- a/mk/compiler/xlc.mk +++ b/mk/compiler/xlc.mk @@ -1,4 +1,4 @@ -# $NetBSD: xlc.mk,v 1.9 2005/01/12 17:27:50 jlam Exp $ +# $NetBSD: xlc.mk,v 1.10 2005/01/12 17:43:04 jlam Exp $ .if !defined(COMPILER_XLC_MK) COMPILER_XLC_MK= defined @@ -17,21 +17,21 @@ _LANGUAGES.xlc= # empty _LANGUAGES.xlc+= ${LANGUAGES.xlc:M${_lang_}} .endfor -_XLC_DIR= ${WRKDIR}/.xlc -_XLC_VARS= # empty +_XLC_DIR= ${WRKDIR}/.xlc +_XLC_VARS= # empty .if exists(${XLCBASE}/bin/xlc) -_XLC_VARS+= CC -_XLC_CC= ${_XLC_DIR}/bin/xlc -_ALIASES.CC= cc xlc -CCPATH= ${XLCBASE}/bin/xlc -PKG_CC:= ${_XLC_CC} +_XLC_VARS+= CC +_XLC_CC= ${_XLC_DIR}/bin/xlc +_ALIASES.CC= cc xlc +CCPATH= ${XLCBASE}/bin/xlc +PKG_CC:= ${_XLC_CC} .endif .if exists(${XLCBASE}/bin/xlc++) -_XLC_VARS+= CXX -_XLC_CXX= ${_XLC_DIR}/bin/xlc++ -_ALIASES.CXX= c++ xlc++ -CXXPATH= ${XLCBASE}/bin/xlc++ -PKG_CXX:= ${_XLC_CXX} +_XLC_VARS+= CXX +_XLC_CXX= ${_XLC_DIR}/bin/xlc++ +_ALIASES.CXX= c++ xlc++ +CXXPATH= ${XLCBASE}/bin/xlc++ +PKG_CXX:= ${_XLC_CXX} .endif _COMPILER_STRIP_VARS+= ${_XLC_VARS} @@ -43,15 +43,15 @@ CC_VERSION_STRING?= ${CC_VERSION} CC_VERSION?= IBM XL C .endif +# Most packages assume alloca is available without #pragma alloca, so +# make it the default. +CFLAGS+= -ma + # Prepend the path to the compiler to the PATH. .if !empty(_LANGUAGES.xlc) PREPEND_PATH+= ${_XLC_DIR}/bin .endif -# Most packages assume alloca is available without #pragma alloca, so -# make it the default. -CFLAGS+=-ma - # Create compiler driver scripts in ${WRKDIR}. .for _var_ in ${_XLC_VARS} . if !target(${_XLC_${_var_}}) |