summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/Makefile.am b/tests/src/Makefile.am
index 179f08da..8d684b19 100644
--- a/tests/src/Makefile.am
+++ b/tests/src/Makefile.am
@@ -1,3 +1,7 @@
+# Disable compiler optimizations for this section
+# of programs as it is known to be buggy with LD_PRELOAD.
+CFLAGS = @CFLAGS@ -O0
+
noinst_PROGRAMS = dbus-env \
initctl \
plymouth \