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)
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')
12 if cc.has_header(native_header) == false 12 if cc.has_header(native_header) == false
13 error('Error, header '+native_header+' is required') 13 error('Error, header '+native_header+' is required')
14 endif 14 endif
15
16 config_h.set10('HAVE_'+native_header.underscorify().to_upper(), true)
15endif 17endif
16 18
17header_checks = [ 19header_checks = [