summaryrefslogtreecommitdiff
path: root/header_checks
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2018-12-09 22:31:30 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2018-12-14 11:18:15 +0100
commit6e11153ef7a89d1205736567eb7df2a16ec67369 (patch)
tree77e877de72f8685826bc148b48a8a83ff88679f3 /header_checks
parent10819b4ea522915a88abfe065a93d25bfa9a14d6 (diff)
downloadefl-6e11153ef7a89d1205736567eb7df2a16ec67369.tar.gz
meson: fix build on power/ppc targets with altivec enabled
Diffstat (limited to 'header_checks')
-rw-r--r--header_checks/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build
index aebc163b2e..b23e774ec1 100644
--- a/header_checks/meson.build
+++ b/header_checks/meson.build
@@ -12,6 +12,8 @@ if get_option('native-arch-optimization')
if cc.has_header(native_header) == false
error('Error, header '+native_header+' is required')
endif
+
+ config_h.set10('HAVE_'+native_header.underscorify().to_upper(), true)
endif
header_checks = [