components/wireshark/patches/studio.patch
author Sean Wilcox <sean.wilcox@oracle.com>
Tue, 08 Nov 2016 11:16:49 -0700
changeset 7267 a018f837e213
parent 7005 6bae9701e86a
permissions -rw-r--r--
23524183 nova reports instances use local storage for hypervisors

This is workaround for Studio compiler bug 24660887.

When build with -xO4 object will miss symbol like this:

symbol .L77001888: referenced symbol not found

Not suitable for upstream.

--- plugins/profinet/Makefile.in
+++ plugins/profinet/Makefile.in
@@ -300,7 +300,7 @@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CC_FOR_BUILD = @CC_FOR_BUILD@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ -xO3
 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
 CFLAGS_SSE42 = @CFLAGS_SSE42@
 CONFIG_ARGS = @CONFIG_ARGS@