From: Arne Fitzenreiter Date: Mon, 27 Apr 2015 19:19:46 +0000 (+0200) Subject: openssl: change sse2 optimization to i686. X-Git-Tag: v2.17-core91~95^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7fe566950277075323b28aa1be202a9d7402edc9;p=ipfire-2.x.git openssl: change sse2 optimization to i686. --- diff --git a/lfs/openssl b/lfs/openssl index 9cc1b4b0f5..814c1e301a 100644 --- a/lfs/openssl +++ b/lfs/openssl @@ -33,7 +33,16 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP)$(KCFG) +ifneq "$(KCFG)" "-sse2" CFLAGS += -DPURIFY +else +CFLAGS =-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC +CFLAGS+= -fstack-protector-all --param=ssp-buffer-size=4 +CFLAGS+= -march=i686 -mmmx -msse -msse2 -mfpmath=sse +CFLAGS+= -fomit-frame-pointer -DPURIFY +CXXFLAGS="${CFLAGS}" +endif + export RPM_OPT_FLAGS = $(CFLAGS) CONFIGURE_OPTIONS = \