Commit 766a8f29 authored by Claudio André's avatar Claudio André

CI: PIC (-fPIC) is needed on Ubuntu

PIC (Position-Independent Code) is enabled by default since 16.10.
See https://wiki.ubuntu.com/YakketyYak/ReleaseNotes#GCC for more
information.
parent 229b36ed
......@@ -243,6 +243,11 @@ AS_IF([test -n "${SAN_FLAGS}"], [
])
AC_SUBST([NO_UNDEFINED_FLAG])
# This is needed (at least) for clang on Ubuntu PIC (Position-Independent Code)
AX_APPEND_COMPILE_FLAGS([$lt_prog_compiler_pic], [CXXFLAGS])
AX_APPEND_COMPILE_FLAGS([$lt_prog_compiler_pic], [CFLAGS])
AX_APPEND_LINK_FLAGS([$lt_prog_compiler_pic])
AC_ARG_WITH([xvfb-tests],
[AS_HELP_STRING([--with-xvfb-tests],
[Run all tests under an XVFB server @<:@default=no@:>@])])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment