summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-06 15:01:32 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-06 15:01:32 +0000
commit09d260414b02fee0a6bcaabd5fa384e26f545d18 (patch)
tree49896ec84b43f68204bf2f66d91604d72a87461a
parent2534b2ee7952919146f810802e675621b55062bb (diff)
- hit awk on steroids with a clue bait
-rw-r--r--package/openssl/openssl.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 00baeddb7..1b220bbb9 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -32,9 +32,10 @@ $(OPENSSL_DIR)/.unpacked: $(DL_DIR)/$(OPENSSL_SOURCE)
$(OPENSSL_CAT) $(DL_DIR)/$(OPENSSL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(OPENSSL_DIR) package/openssl/ openssl\*.patch
# sigh... we have to resort to this just to set a gcc flag.
+ # grumble.. and of course make sure to escape any '/' in CFLAGS
$(SED) 's,/CFLAG=,/CFLAG= $(TARGET_SOFT_FLOAT) ,g' \
$(OPENSSL_DIR)/Configure
- $(SED) '/CFLAG=/s,/;, $(TARGET_CFLAGS)/;,' \
+ $(SED) '/CFLAG=/s,/;, $(shell echo '$(TARGET_CFLAGS)' | sed -e 's/\//\\\\\//g')/;,' \
$(OPENSSL_DIR)/Configure
touch $(OPENSSL_DIR)/.unpacked