]> err.no Git - systemd/commitdiff
build-sys: pass -fno-strict-aliasing by default
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Jun 2010 21:41:21 +0000 (23:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Jun 2010 21:41:21 +0000 (23:41 +0200)
configure.ac
fixme

index f44b493dd71e5a5edd6ff8897a92e7eaa3f80c2d..5671df4b4155fb075ef2edf0318e5913d497b65e 100644 (file)
@@ -48,14 +48,12 @@ AC_PROG_GCC_TRADITIONAL
 AC_USE_SYSTEM_EXTENSIONS
 
 CC_CHECK_CFLAGS_APPEND([ \
+        -pipe \
         -Wall \
         -W \
         -Wextra \
-        -pipe \
-        -Wno-long-long \
         -Winline \
         -Wvla \
-        -Wno-overlength-strings \
         -Wundef \
         -Wformat=2 \
         -Wlogical-op \
@@ -78,12 +76,15 @@ CC_CHECK_CFLAGS_APPEND([ \
         -Wcast-align \
         -Wstrict-aliasing=2 \
         -Wwrite-strings \
+        -Wno-long-long \
+        -Wno-overlength-strings \
         -Wno-unused-parameter \
-        -ffast-math \
+        -Wno-missing-field-initializers \
         -Wp,-D_FORTIFY_SOURCE=2 \
+        -ffast-math \
         -fno-common \
         -fdiagnostics-show-option \
-        -Wno-missing-field-initializers])
+        -fno-strict-aliasing])
 
 AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
 AC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])])
diff --git a/fixme b/fixme
index 6ae447dd3998d443ea9949388ae45774a45a11cb..7aca3ee08b031160007cddb7fd90ee6baf32d01d 100644 (file)
--- a/fixme
+++ b/fixme
 
 * convenience library
 
+* install must understand templates
+
+* shutdown must be able to do wall
+
+* upstart/initctl fallback in systemctl
+
 Regularly:
 
 * look for close() vs. close_nointr() vs. close_nointr_nofail()