X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fgcc;h=2a2c2eacd3a4617bea7dd60f008589f54ad5e4f3;hb=16f1a75d215e027ad746fc60dd10cd456f07f8d6;hp=eccf48009f1581d59a50194c47e19e4b704dc1a3;hpb=0028eaa73ae0c3bd1dbf90c4bd508ae705bc386f;p=hvlinux.git diff --git a/stage1/pkg/gcc b/stage1/pkg/gcc index eccf480..2a2c2ea 100644 --- a/stage1/pkg/gcc +++ b/stage1/pkg/gcc @@ -1,20 +1,5 @@ #!/bin/bash -CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ - --target=${CLFS_TARGET} \ - --disable-multilib \ - --with-local-prefix=/tools \ - --libexecdir=/tools/lib \ - --disable-nls \ - --disable-libstdcxx-pch \ - --enable-long-long \ - --enable-c99 \ - --enable-shared \ - --enable-threads=posix \ - --enable-__cxa_atexit \ - --enable-languages=c,c++" - hvpatch() { # Manually applying patches if specified @@ -36,6 +21,21 @@ hvpatch() hvconfig_pre() { + CONFIGURE_OPTS="\ + ${CONFIGURE_OPTS} \ + --target=${CLFS_TARGET} \ + --disable-multilib \ + --with-local-prefix=/tools \ + --libexecdir=/tools/lib \ + --disable-nls \ + --disable-libstdcxx-pch \ + --enable-long-long \ + --enable-c99 \ + --enable-shared \ + --enable-threads=posix \ + --enable-__cxa_atexit \ + --enable-languages=c,c++" + cd ${LFS_TMP}/${PACKAGE} # Change the StartFile Spec to point to the correct library location: