X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=configs%2Flinux-osmesa16-static;h=146aeb85a6f32e191aeeecbed91bbf5b9754c434;hb=e910f6831b4e7033a0d5cbd83bdab191d622bad0;hp=1e6380b02e078098f0f071cbe2cedb5fb005604f;hpb=87e3301533aa4d3e6e98db139887ebba3d217f7d;p=android-x86%2Fexternal-mesa.git diff --git a/configs/linux-osmesa16-static b/configs/linux-osmesa16-static index 1e6380b02e0..146aeb85a6f 100644 --- a/configs/linux-osmesa16-static +++ b/configs/linux-osmesa16-static @@ -10,7 +10,11 @@ CXX = g++ CFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31 CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE MKLIB_OPTIONS = -static +PIC_FLAGS = +# Work around aliasing bugs - developers should comment this out +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing # Library names OSMESA_LIB = OSMesa16 @@ -25,4 +29,4 @@ PROGRAM_DIRS = # Dependencies OSMESA_LIB_DEPS = -lm -lpthread -APP_LIB_DEPS = -lOSMesa16 +APP_LIB_DEPS = -lm -lpthread