compile with -fno-strict-aliasing
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 13 Apr 2010 17:45:30 +0000 (13:45 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 13 Apr 2010 17:45:30 +0000 (13:45 -0400)
Makefile.am
libust/Makefile.am
libustcomm/Makefile.am
libustfork/Makefile.am
libustinstr-malloc/Makefile.am
snprintf/Makefile.am
ustctl/Makefile.am
ustd/Makefile.am

index 05ea397ec600bedde4b880b8998601364171065a..f7952c64b3a25d78146220b714e142e6ab77e658 100644 (file)
@@ -21,4 +21,4 @@ libust.so: libust.ldscript.in
 # It is very important to compile the initializer with PIC otherwise we
 # may get obscure errors when linking to shared libraries.
 libust-initializer.o: libust-initializer.c
-       $(CC) $(CFLAGS) -fPIC -c -I$(top_srcdir)/include -o $@ $<
+       $(CC) $(CFLAGS) -fno-strict-aliasing -fPIC -c -I$(top_srcdir)/include -o $@ $<
index b4d059803fa5deb1078ac845068bf9ad5360ca75..529d4b0cdd704e2f6abd483c70abef3c5d5e5a53 100644 (file)
@@ -1,4 +1,5 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm
+AM_CFLAGS = -fno-strict-aliasing
 
 lib_LTLIBRARIES = libust.la
 
@@ -28,4 +29,4 @@ libust_la_LIBADD = \
        $(top_builddir)/snprintf/libustsnprintf.la \
        $(top_builddir)/libustcomm/libustcomm.la
 
-libust_la_CFLAGS = -DUST_COMPONENT="libust"
+libust_la_CFLAGS = -DUST_COMPONENT="libust" -fno-strict-aliasing
index baebd8461f82c7a226ef85415515759a35a31572..c53dd1417030353eba3a8d783936bbb0604129df 100644 (file)
@@ -1,4 +1,5 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CFLAGS = -fno-strict-aliasing
 
 lib_LTLIBRARIES = libustcomm.la
 libustcomm_la_SOURCES = \
@@ -7,4 +8,4 @@ libustcomm_la_SOURCES = \
        multipoll.h \
        multipoll.c
 libustcomm_la_LDFLAGS = -no-undefined -version-info 0:0:0 -static
-libustcomm_la_CFLAGS = -DUST_COMPONENT="libustcomm" -fPIC
+libustcomm_la_CFLAGS = -DUST_COMPONENT="libustcomm" -fPIC -fno-strict-aliasing
index 837f8dc363d33e6deefa8f8fef5966f12380e2a4..a53ddda701125efdafd7f542e7629d9018dc9f75 100644 (file)
@@ -1,6 +1,7 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CFLAGS = -fno-strict-aliasing
 
 lib_LTLIBRARIES = libustfork.la
 libustfork_la_SOURCES = ustfork.c
 libustfork_la_LIBADD = -ldl
-libustfork_CFLAGS = -DUST_COMPONENT=libustfork
+libustfork_CFLAGS = -DUST_COMPONENT=libustfork -fno-strict-aliasing
index 0f9007aaaec162427ce65cf8414afdf971c0351c..26c73e0af0f9ab3cce3bedd23251737f95e4bac5 100644 (file)
@@ -1,4 +1,5 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CFLAGS = -fno-strict-aliasing
 
 lib_LTLIBRARIES = libustinstr-malloc.la
 libustinstr_malloc_la_SOURCES = mallocwrap.c
index 5ef7d82697f1e5085400a6298f1d8dd592f7d488..f3b78bb39e1c37b712b50f020eea3fb3b7b873fa 100644 (file)
@@ -1,4 +1,5 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm
+AM_CFLAGS = -fno-strict-aliasing
 
 lib_LTLIBRARIES = libustsnprintf.la
 libustsnprintf_la_SOURCES = \
@@ -15,4 +16,4 @@ libustsnprintf_la_SOURCES = \
        wcio.h \
        wsetup.c
 libustsnprintf_la_LDFLAGS = -no-undefined -version-info 0:0:0 -static
-libustsnprintf_la_CFLAGS = -DUST_COMPONENT="ust_snprintf" -fPIC
+libustsnprintf_la_CFLAGS = -DUST_COMPONENT="ust_snprintf" -fPIC -fno-strict-aliasing
index 4b8100f77f2a4c65f00d64cff67c750836902c59..94e8c00ad0bae17d87d3fad5592e66905e380dc6 100644 (file)
@@ -1,5 +1,6 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm \
        -I$(top_srcdir)/libustcmd $(KCOMPAT_CFLAGS)
+AM_CFLAGS = -fno-strict-aliasing
 
 bin_PROGRAMS = ustctl
 
@@ -8,7 +9,7 @@ ustctl_SOURCES = \
        $(top_srcdir)/libustcmd/ustcmd.c \
        $(top_srcdir)/libustcmd/ustcmd.h
 
-ustctl_CFLAGS = -DUST_COMPONENT=ustctl
+ustctl_CFLAGS = -DUST_COMPONENT=ustctl -fno-strict-aliasing
 
 ustctl_LDADD = \
        $(top_builddir)/snprintf/libustsnprintf.la \
index 96f167b0e1a3e533f4911975e8e6b1f34d93f5a6..09d098488e10d39eb736b0b0bfbfaed4bdd380d9 100644 (file)
@@ -1,5 +1,6 @@
 AM_CPPFLAGS = -I$(top_srcdir)/libust -I$(top_srcdir)/libustcomm \
        -I$(top_srcdir)/include
+AM_CFLAGS = -fno-strict-aliasing
 
 bin_PROGRAMS = ustd
 
@@ -10,4 +11,4 @@ ustd_LDADD = \
        $(top_builddir)/libustcomm/libustcomm.la
 
 ustd_LDFLAGS = -lpthread
-ustd_CFLAGS = -DUST_COMPONENT=ustd
+ustd_CFLAGS = -DUST_COMPONENT=ustd -fno-strict-aliasing
This page took 0.027332 seconds and 4 git commands to generate.