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 51f57e7c2d)
			
			
This commit is contained in:
		| @@ -11,7 +11,7 @@ PKG_NAME:=openssl | |||||||
| PKG_BASE:=1.1.1 | PKG_BASE:=1.1.1 | ||||||
| PKG_BUGFIX:=u | PKG_BUGFIX:=u | ||||||
| PKG_VERSION:=$(PKG_BASE)$(PKG_BUGFIX) | PKG_VERSION:=$(PKG_BASE)$(PKG_BUGFIX) | ||||||
| PKG_RELEASE:=1 | PKG_RELEASE:=2 | ||||||
| PKG_USE_MIPS16:=0 | PKG_USE_MIPS16:=0 | ||||||
|  |  | ||||||
| PKG_BUILD_PARALLEL:=1 | PKG_BUILD_PARALLEL:=1 | ||||||
| @@ -332,6 +332,7 @@ define Build/Configure | |||||||
| 			--libdir=lib \ | 			--libdir=lib \ | ||||||
| 			--openssldir=/etc/ssl \ | 			--openssldir=/etc/ssl \ | ||||||
| 			--cross-compile-prefix="$(TARGET_CROSS)" \ | 			--cross-compile-prefix="$(TARGET_CROSS)" \ | ||||||
|  | 			$(TARGET_CFLAGS) \ | ||||||
| 			$(TARGET_CPPFLAGS) \ | 			$(TARGET_CPPFLAGS) \ | ||||||
| 			$(TARGET_LDFLAGS) \ | 			$(TARGET_LDFLAGS) \ | ||||||
| 			$(OPENSSL_OPTIONS) && \ | 			$(OPENSSL_OPTIONS) && \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jitao Lu
					Jitao Lu