]> git.pld-linux.org Git - packages/libglvnd.git/commitdiff
use -O1 to fix build
authorJan Palus <atler@pld-linux.org>
Mon, 1 Jan 2018 20:43:05 +0000 (21:43 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 1 Jan 2018 20:44:18 +0000 (21:44 +0100)
libglx.c: In function 'glXGetClientString':
libglx.c:1396:40: error: array subscript is outside array bounds [-Werror=array-bounds]
             free(dpyInfo->clientStrings[index]);

libglvnd.spec

index 530dffe37624b103f543c848e62bc389dcf9512a..1802dc582efc17211586eff369e9fbc9c9cac205 100644 (file)
@@ -164,6 +164,7 @@ Pliki programistyczne glvnd interfejsów OpenGL ES 1, 2, 3.
 %{__autoheader}
 %{__automake}
 %configure \
+       CFLAGS="%{rpmcflags} -O1" \
        --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 %{__make}
This page took 0.132369 seconds and 4 git commands to generate.