From: gobo72 Date: Mon, 7 Mar 2011 05:00:20 +0000 (+0000) Subject: Ajout support pour flags MARCH_FLAGS à partir du stage2 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=7a56acaf393f8598e6bd8e23ba539d716177afbe;p=hvlinux.git Ajout support pour flags MARCH_FLAGS à partir du stage2 --- diff --git a/stage1/create-config-files b/stage1/create-config-files index bf8780c..36596ba 100755 --- a/stage1/create-config-files +++ b/stage1/create-config-files @@ -52,7 +52,7 @@ HISTFILESIZE=1000 HISTSIZE=1000 HOSTNAME=`hostname` EDITOR=_DEFAULT_EDITOR_ -CFLAGS="-pipe -O2" +CFLAGS=_DEFAULT_CFLAGS_ CXXFLAGS=${CFLAGS} # Set default permissions when creating new files. @@ -90,6 +90,8 @@ EOF sed -i -e "s!_DEFAULT_EDITOR_!${DEFAULT_EDITOR}!g" ${LFS}/etc/profile +sed -i -e "s!_DEFAULT_CFLAGS_!-pipe -O2 ${MARCH_FLAGS}!g" ${LFS}/etc/profile + echo "Creating /etc/bashrc" cat > ${LFS}/etc/bashrc << "EOF" #!/bin/bash