Browse Source

xfsprogs: Set OPTIMIZER based on global opt level

default is -O2 -g and it overrides the value passed via OE's global
optimization flags.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 4 years ago
parent
commit
af61e85806
1 changed files with 1 additions and 0 deletions
  1. 1 0
      meta-filesystems/recipes-utils/xfsprogs/xfsprogs_5.2.1.bb

+ 1 - 0
meta-filesystems/recipes-utils/xfsprogs/xfsprogs_5.2.1.bb

@@ -35,6 +35,7 @@ EXTRA_OECONF = "--enable-gettext=no \
                 INSTALL_GROUP=root \
                 ac_cv_header_aio_h=yes \
                 ac_cv_lib_rt_lio_listio=yes \
+                OPTIMIZER='${SELECTED_OPTIMIZATION}' \
 "
 
 DISABLE_STATIC = ""