From: Kay Sievers Date: Tue, 10 Jan 2012 01:05:08 +0000 (+0100) Subject: autogen.sh: makedev() misteriously breaks with -O0 here, use -O1 for now X-Git-Tag: 176~6 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=dc401e018940ccd94b9648eeab25f5ae204e5b30 autogen.sh: makedev() misteriously breaks with -O0 here, use -O1 for now -O0 [pid 693] mknod("udev-root/sda", 034101566300) = -1 EINVAL (Invalid argument) -O1 [pid 8087] mknod("udev-root/sda", S_IFBLK, makedev(8, 0)) = 0 --- diff --git a/autogen.sh b/autogen.sh index 697ed919d..180e423c4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -30,5 +30,5 @@ echo "----------------------------------------------------------------" echo "Initialized build system. For a common configuration please run:" echo "----------------------------------------------------------------" echo -echo "./configure CFLAGS='-g -O0' $args" +echo "./configure CFLAGS='-g -O1' $args" echo