diff options
author | Jitao Lu <dianlujitao@gmail.com> | 2023-06-14 17:25:03 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-06-17 12:56:58 +0200 |
commit | 70e3f4e94dd7687533d4092991eb3ddfae2a2380 (patch) | |
tree | 99ff02dc6d744222476d36e5a813f10162eb6234 /package/libs/openssl/Makefile | |
parent | 287303b0628b7b448cb7705b087ece7fbc5b97c3 (diff) | |
download | upstream-70e3f4e94dd7687533d4092991eb3ddfae2a2380.tar.gz upstream-70e3f4e94dd7687533d4092991eb3ddfae2a2380.tar.bz2 upstream-70e3f4e94dd7687533d4092991eb3ddfae2a2380.zip |
openssl: passing cflags to configure
openssl sets additional cflags in its configuration script. We need to
make it aware of our custom cflags to avoid adding conflicting cflags.
Fixes: #12866
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
(cherry picked from commit 51f57e7c2dd2799e34036ec74b3436bf490fade0)
Diffstat (limited to 'package/libs/openssl/Makefile')
-rw-r--r-- | package/libs/openssl/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index d25f1aba6c..fa359b7e1a 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -11,7 +11,7 @@ PKG_NAME:=openssl PKG_BASE:=1.1.1 PKG_BUGFIX:=u PKG_VERSION:=$(PKG_BASE)$(PKG_BUGFIX) -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_USE_MIPS16:=0 PKG_BUILD_PARALLEL:=1 @@ -332,6 +332,7 @@ define Build/Configure --libdir=lib \ --openssldir=/etc/ssl \ --cross-compile-prefix="$(TARGET_CROSS)" \ + $(TARGET_CFLAGS) \ $(TARGET_CPPFLAGS) \ $(TARGET_LDFLAGS) \ $(OPENSSL_OPTIONS) && \ |