Skip to content

Commit

Permalink
openssl: passing cflags to configure
Browse files Browse the repository at this point in the history
openssl sets additional cflags in its configuration script. We need to
make it aware of our custom cflags to avoid adding conflicting cflags.

Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
  • Loading branch information
moetayuko authored and aiamadeus committed Jun 28, 2023
1 parent 654f7ab commit effbf66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/libs/openssl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -334,6 +334,7 @@ define Build/Configure
--libdir=lib \
--openssldir=/etc/ssl \
--cross-compile-prefix="$(TARGET_CROSS)" \
$(TARGET_CFLAGS) \
$(TARGET_CPPFLAGS) \
$(TARGET_LDFLAGS) \
$(OPENSSL_OPTIONS) && \
Expand Down

0 comments on commit effbf66

Please sign in to comment.