From 2dc0f565c50b9af2a862172bd8109e24fa998b5b Mon Sep 17 00:00:00 2001
From: Manuel Novoa III <mjn3@codepoet.org>
Date: Sun, 4 Apr 2004 21:23:00 +0000
Subject: Fix so TARGET_CFLAGS is respected in the build.

---
 make/openvpn.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/make/openvpn.mk b/make/openvpn.mk
index 50624ad64..bd171aa38 100644
--- a/make/openvpn.mk
+++ b/make/openvpn.mk
@@ -27,6 +27,7 @@ $(OPENVPN_DIR)/.unpacked: $(DL_DIR)/$(OPENVPN_SOURCE) lzo openssl
 $(OPENVPN_DIR)/.configured: $(OPENVPN_DIR)/.unpacked
 	(cd $(OPENVPN_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
+		CFLAGS="$(TARGET_CFLAGS)" \
 		./configure \
 		--target=$(GNU_TARGET_NAME) \
 		--host=$(GNU_TARGET_NAME) \
-- 
cgit v1.2.3