Browse Source

added custom compiler flag option (for Valentin)

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2425 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
c23da32ca1
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      package/base/gcc3/parse-config
  2. +3
    -0
      scripts/config.in

+ 2
- 0
package/base/gcc3/parse-config

@ -90,6 +90,8 @@ else
fi
fi
var_append GCC_WRAPPER_APPEND " " "$ROCKCFG_C_FLAGS"
# Compile with no exceptions or rtti, gcc itself must support both
#
if [ "$ROCKCFG_LIMITCXX" = 1 ] && [[ $pkg != gcc* ]] ; then

+ 3
- 0
scripts/config.in

@ -324,6 +324,9 @@ break packages!'
done
block_end
comment ' '
text 'Additional compiler flags' ROCKCFG_C_FLAGS ""
comment ' '
comment_id '- Flist detection technique' COMMENT_FLIST
block_begin 5

Loading…
Cancel
Save