diff options
Diffstat (limited to 'meta-phosphor/classes/flto-automake.bbclass')
-rw-r--r-- | meta-phosphor/classes/flto-automake.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-phosphor/classes/flto-automake.bbclass b/meta-phosphor/classes/flto-automake.bbclass new file mode 100644 index 000000000..517bd5ea5 --- /dev/null +++ b/meta-phosphor/classes/flto-automake.bbclass @@ -0,0 +1,6 @@ +inherit autotools + +# use gcc equivalents of AR and RANLIB +# to use -flto with shared libs +PACKAGECONFIG_CONFARGS += " AR=${TARGET_PREFIX}gcc-ar \ + RANLIB=${TARGET_PREFIX}gcc-ranlib" |