mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-08 21:09:49 +00:00
Unbreak build of several regression tests on Solaris 12 with gcc 5.3
We need to move _XOPEN_SOURCE from 500 to 600 which comes with '-std=c99'. n-i-bz git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15821
This commit is contained in:
@@ -439,7 +439,7 @@ err_disable3_LDADD = -lpthread
|
||||
err_disable4_LDADD = -lpthread
|
||||
err_disable4_CFLAGS = $(AM_CFLAGS)
|
||||
if VGCONF_OS_IS_SOLARIS
|
||||
err_disable4_CFLAGS += -D_XOPEN_SOURCE=500
|
||||
err_disable4_CFLAGS += -std=c99 -D_XOPEN_SOURCE=600
|
||||
endif
|
||||
reach_thread_register_CFLAGS = $(AM_CFLAGS) -O2
|
||||
reach_thread_register_LDADD = -lpthread
|
||||
@@ -503,7 +503,7 @@ resvn_stack_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@
|
||||
|
||||
sendmsg_CFLAGS = $(AM_CFLAGS)
|
||||
if VGCONF_OS_IS_SOLARIS
|
||||
sendmsg_CFLAGS += -D_XOPEN_SOURCE=500
|
||||
sendmsg_CFLAGS += -std=c99 -D_XOPEN_SOURCE=600
|
||||
sendmsg_LDADD = -lsocket -lnsl
|
||||
endif
|
||||
|
||||
|
||||
@@ -267,7 +267,7 @@ ansi_CFLAGS = $(AM_CFLAGS) -ansi
|
||||
execve_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
|
||||
if VGCONF_OS_IS_SOLARIS
|
||||
fcntl_setown_LDADD = -lsocket -lnsl
|
||||
fdleak_cmsg_CFLAGS = $(AM_CFLAGS) -D_XOPEN_SOURCE=500
|
||||
fdleak_cmsg_CFLAGS = $(AM_CFLAGS) -std=c99 -D_XOPEN_SOURCE=600
|
||||
fdleak_cmsg_LDADD = -lsocket -lnsl
|
||||
fdleak_ipv4_LDADD = -lsocket -lnsl
|
||||
fdleak_creat_LDADD = -lsocket -lnsl
|
||||
|
||||
Reference in New Issue
Block a user