X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=configs%2Fbluegene-osmesa;h=d22454fa2d98906e9166285330cc7c77c7738575;hb=c75ffff84a2a98f0f027a262db904aedae3a5d06;hp=427673d32f9d22bdc9e21152c4e99366462eec86;hpb=2457f4cf671534bea0e0bfce07cb79466fd18baa;p=mesa.git diff --git a/configs/bluegene-osmesa b/configs/bluegene-osmesa index 427673d32f9..d22454fa2d9 100644 --- a/configs/bluegene-osmesa +++ b/configs/bluegene-osmesa @@ -13,8 +13,14 @@ CXX = /bgl/BlueLight/ppcfloor/blrts-gnu/bin/powerpc-bgl-blrts-gnu-g++ CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURC +# Work around aliasing bugs - developers should comment this out +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing + MKLIB_OPTIONS = -static +OSMESA_LIB_NAME = libOSMesa.a + # Directories SRC_DIRS = mesa glu DRIVER_DIRS = osmesa @@ -24,4 +30,4 @@ PROGRAM_DIRS = osdemos # Dependencies OSMESA_LIB_DEPS = -lm GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB) -APP_LIB_DEPS = -lOSMesa -lGLU +APP_LIB_DEPS = -lOSMesa -lGLU -lm