[Mesa-dev] [Bug 80034] compile error eglGetSyncValuesCHROMIUM undeclared

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 16 00:43:14 PDT 2014


--- Comment #3 from Tapani Pälli <lemody at gmail.com> ---
(In reply to comment #2)
> export CFLAGS="-m${LIBDIRSUFFIX} -O3 -march=native -pipe"
> export CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
> export CPPFLAGS="${CXXLAGS} -I${XBUILD}/include

Note that there is typo setting CPPFLAGS ("CXXLAGS"). Also feeding CXXFLAGS to
CPPFLAGS can potentially cause problems (?) At least you should see following
errors when compiling:

"cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for
C++/ObjC++ but not for C [enabled by default]"

(just noticed this when I tried to reproduce the bug)

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140616/6df63ce5/attachment-0001.html>

More information about the mesa-dev mailing list