summaryrefslogtreecommitdiff
path: root/recipes/zlib/zlib.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/zlib/zlib.inc')
-rw-r--r--recipes/zlib/zlib.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/zlib/zlib.inc b/recipes/zlib/zlib.inc
index 5b00ccf6e0..5c00acbd3e 100644
--- a/recipes/zlib/zlib.inc
+++ b/recipes/zlib/zlib.inc
@@ -8,8 +8,10 @@ INC_PR ="r7"
# Below option is added to overcome the GCC bug on ARM
# see http://gcc.gnu.org/PR42981 for further details.
# We could potentially take it off when its fixed in gcc 4.5
-
-CFLAGS_append_arm = " -fforward-propagate "
+CFLAGS += "${CFLAGS_EXTRA}"
+CFLAGS_EXTRA_append_arm = " -fforward-propagate"
+CFLAGS_EXTRA_virtclass-native = ""
+CFLAGS_EXTRA_virtclass-sdk = ""
BBCLASSEXTEND = "native sdk"