From: Arne Fitzenreiter Date: Fri, 18 Jul 2014 10:52:20 +0000 (+0200) Subject: gmp: fix build on Intel buildmachines. X-Git-Tag: v2.15-core80~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8cee3bb81787328e3bb2c6d9edb31ac0015a717;p=people%2Fstevee%2Fipfire-2.x.git gmp: fix build on Intel buildmachines. on newer Intel buildsystems the gmp configure script enables some sse2 optimizations that not work on old cpu's (ALIX, K6 ...) --- diff --git a/lfs/gmp b/lfs/gmp index cf52276711..55603a5e3f 100644 --- 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 # # # # 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 diff --git a/lfs/gmp-compat b/lfs/gmp-compat index 3d20e889a0..438e9578d3 100644 --- a/lfs/gmp-compat +++ b/lfs/gmp-compat @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2014 IPFire Team # # # # 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