[gegl] meson: use "-Ofast" for optimized builds
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] meson: use "-Ofast" for optimized builds
- Date: Fri, 25 Oct 2019 14:27:00 +0000 (UTC)
commit e67a1b9726360365abe26ccb2a22b6bffc98d80d
Author: Ell <ell_se yahoo com>
Date: Fri Oct 25 17:15:06 2019 +0300
meson: use "-Ofast" for optimized builds
Use "-Ofast" for optimized builds, instead of the default meson
optimization level, to match the autotools behavior.
meson.build | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index 3137a48a2..000eba9a8 100644
--- a/meson.build
+++ b/meson.build
@@ -102,6 +102,9 @@ cflags_common += [
'-DHAVE_CONFIG_H',
]
+if buildtype == 'debugoptimized' or buildtype == 'release'
+ cflags_common += ['-Ofast']
+endif
cflags_common += [
'-Winit-self',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]