]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
gmp: fix build on Intel buildmachines.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 18 Jul 2014 10:52:20 +0000 (12:52 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 18 Jul 2014 10:52:20 +0000 (12:52 +0200)
on newer Intel buildsystems the gmp configure script enables some
sse2 optimizations that not work on old cpu's (ALIX, K6 ...)

lfs/gmp
lfs/gmp-compat

diff --git a/lfs/gmp b/lfs/gmp
index cf5227671155965897c0bc8c6d3416fc287f4e62..55603a5e3ff6e3b40545b66475756c7c2c1ba731 100644 (file)
--- a/lfs/gmp
+++ b/lfs/gmp
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2014   IPFire Team   <info@ipfire.org>                   #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -75,6 +75,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
+               --build=$(BUILDTARGET) \
                --enable-cxx --enable-mpbsd --disable-nls
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
index 3d20e889a013f3eec690f9dbc2c1f5edc7073c88..438e9578d3076b5f988088ebf81bd8367fd2fbf2 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2014   IPFire Team   <info@ipfire.org>                   #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -75,6 +75,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
+               --build=$(BUILDTARGET) \
                --enable-cxx --enable-mpbsd --disable-nls
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && install -m 644 .libs/libgmp.so.3.5.2 /usr/lib