Add -fcommon to build with Address Sanitizer sandbox/vbarinov/asan
authorSlava Barinov <v.barinov@samsung.com>
Mon, 30 May 2016 13:13:49 +0000 (16:13 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Thu, 23 Jun 2016 07:52:04 +0000 (10:52 +0300)
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/murphy.spec

index f8de76c025e684c8fecb2aac4e6566957c4d3373..d67e19b6448e407abef22b72a6b2899bf982e2bc 100644 (file)
@@ -189,6 +189,7 @@ This package contains various test binaries for Murphy.
 cp %{SOURCE1001} .
 
 %build
+%restore_fcommon
 %if %{with debug}
 export CFLAGS="-O0 -g3"
 V="V=1"