openssl: Drop SSE2-optimized version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-02-16 17:55:29 +00:00
parent a810c2ae8f
commit 44558ee19c
4 changed files with 2 additions and 20 deletions

View File

@@ -1 +0,0 @@
usr/lib/sse2/libcrypto.so.1.1

View File

@@ -1 +0,0 @@
../../../../common/i586/openssl-sse2

View File

@@ -35,11 +35,6 @@ TARGET = $(DIR_INFO)/$(THISAPP)$(KCFG)
CFLAGS += -DPURIFY -Wa,--noexecstack
# Enable SSE2 for this build
ifeq "$(KCFG)" "-sse2"
CFLAGS+= -march=i686 -mmmx -msse -msse2 -mfpmath=sse
endif
export RPM_OPT_FLAGS = $(CFLAGS)
CONFIGURE_OPTIONS = \
@@ -72,11 +67,7 @@ ifeq "$(BUILD_ARCH)" "x86_64"
endif
ifeq "$(BUILD_ARCH)" "i586"
OPENSSL_ARCH = linux-elf
ifneq "$(KCFG)" "-sse2"
OPENSSL_ARCH += no-sse2
endif
OPENSSL_ARCH = linux-elf no-sse2
endif
###############################################################################
@@ -132,15 +123,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && make depend
cd $(DIR_APP) && make $(MAKETUNING)
ifeq "$(KCFG)" "-sse2"
-mkdir -pv /usr/lib/sse2
cd $(DIR_APP) && install -m 755 \
libcrypto.so.1.1 /usr/lib/sse2
else
# Install everything.
# Install everything
cd $(DIR_APP) && make install
install -m 0644 $(DIR_SRC)/config/ssl/openssl.cnf /etc/ssl
endif
@rm -rf $(DIR_APP)
@$(POSTBUILD)

View File

@@ -1145,7 +1145,6 @@ buildipfire() {
lfsmake2 initscripts
lfsmake2 backup
lfsmake2 openssl
[ "${BUILD_ARCH}" = "i586" ] && lfsmake2 openssl KCFG='-sse2'
lfsmake2 kmod
lfsmake2 udev
lfsmake2 popt