mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
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 ...)
This commit is contained in:
3
lfs/gmp
3
lfs/gmp
@@ -1,7 +1,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# 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 #
|
# 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 #
|
# it under the terms of the GNU General Public License as published by #
|
||||||
@@ -75,6 +75,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
|
cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
|
||||||
|
--build=$(BUILDTARGET) \
|
||||||
--enable-cxx --enable-mpbsd --disable-nls
|
--enable-cxx --enable-mpbsd --disable-nls
|
||||||
cd $(DIR_APP) && make $(MAKETUNING)
|
cd $(DIR_APP) && make $(MAKETUNING)
|
||||||
cd $(DIR_APP) && make install
|
cd $(DIR_APP) && make install
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# 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 #
|
# 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 #
|
# it under the terms of the GNU General Public License as published by #
|
||||||
@@ -75,6 +75,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
|
cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
|
||||||
|
--build=$(BUILDTARGET) \
|
||||||
--enable-cxx --enable-mpbsd --disable-nls
|
--enable-cxx --enable-mpbsd --disable-nls
|
||||||
cd $(DIR_APP) && make $(MAKETUNING)
|
cd $(DIR_APP) && make $(MAKETUNING)
|
||||||
cd $(DIR_APP) && install -m 644 .libs/libgmp.so.3.5.2 /usr/lib
|
cd $(DIR_APP) && install -m 644 .libs/libgmp.so.3.5.2 /usr/lib
|
||||||
|
|||||||
Reference in New Issue
Block a user