Browse Source

architecture/x86-64: inject -march=i686 to fix multilib builds of glibc

user/amery/stages
Christian Wiese 14 years ago
committed by Alejandro Mery
parent
commit
74a6e124b3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      architecture/x86-64/pkg_glibc_post.conf

+ 2
- 2
architecture/x86-64/pkg_glibc_post.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: architecture/x86-64/pkg_glibc_post.conf
# Copyright (C) 2007 - 2008 The OpenSDE Project
# Copyright (C) 2007 - 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -22,7 +22,7 @@ pkg_glibc32_preconf(){
if [ $buildloop -eq 2 ]; then
echo_status "Building 32 Bit Libraries (Multilib support enabled)"
# we need -m32 ... - still needed?
var_insert GCC_WRAPPER_INSERT " " "-m32"
var_insert GCC_WRAPPER_INSERT " " "-m32 -march=i686"
arch_target="`echo $arch_target | arch2arch32`"
echo_status "Setting arch_target to $arch_target"

Loading…
Cancel
Save