Browse Source

build: use -s in release mode when targeting NaCl.

undefined
Sam Hocevar 11 years ago
parent
commit
fea88b5f47
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      configure.ac

+ 4
- 1
configure.ac View File

@@ -351,7 +351,10 @@ ac_cv_my_have_nacl="no"
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS(ppapi/cpp/instance.h,
[ac_cv_my_have_nacl="yes"
LOL_LIBS="${LOL_LIBS} -lnosys"])
LOL_LIBS="${LOL_LIBS} -lnosys"
if test "${ac_cv_my_build_mode}" = "xrelease"; then
LOL_LIBS="${LOL_LIBS} -s"
fi])
AC_LANG_POP(C++)
AM_CONDITIONAL(USE_NACL, test "${ac_cv_my_have_nacl}" != "no")



Loading…
Cancel
Save