diff options
Diffstat (limited to 'recipes-tizen/libmm-utility/libmm-utility.inc')
-rw-r--r-- | recipes-tizen/libmm-utility/libmm-utility.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-tizen/libmm-utility/libmm-utility.inc b/recipes-tizen/libmm-utility/libmm-utility.inc index a0d67354..aba9bf0d 100644 --- a/recipes-tizen/libmm-utility/libmm-utility.inc +++ b/recipes-tizen/libmm-utility/libmm-utility.inc @@ -61,6 +61,9 @@ do_compile() { LANG=C export LANG unset DISPLAY + CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; LD_AS_NEEDED=1; export LD_AS_NEEDED ; ./autogen.sh @@ -68,8 +71,11 @@ do_compile() { CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" \ LDFLAGS+="-Wl,--rpath=${prefix}/lib -Wl,--hash-style=both -Wl,--as-needed" \ + CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ - --target=${TARGET_SYS} \ + --target=x86_64-tizen-linux \ --program-prefix= \ --prefix=${prefix} \ --exec-prefix=${prefix} \ |