From b8cee3bb81787328e3bb2c6d9edb31ac0015a717 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Fri, 18 Jul 2014 12:52:20 +0200 Subject: [PATCH] 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 ...) --- lfs/gmp | 3 ++- lfs/gmp-compat | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5