Google
  Web www.spinics.net

samba 3.2.1 build system not honoring CFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

I was compiling samba 3.2.1 and noticed that the Makefile doesn't use the CFLAGS I gave it. After digging into the configure script I came up with this patch. I know configure is generated from configure.in, but I was also unable to run it through my autoconf 2.62 (tried it on another machine with autoconf 2.61 and it worked)

Uri.

--- configure   2008-08-17 01:16:13.000000000 +0300
+++ samba-3.2.1/source/configure        2008-08-17 01:20:32.000000000 +0300
@@ -11339,8 +11339,6 @@
 fi
 if test "x$debug" = "xyes" ; then
        CFLAGS="${CFLAGS} -g"
-else
-       CFLAGS="-O"
 fi

 CFLAGS="${CFLAGS} -D_SAMBA_BUILD_=3"

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Linux]     [Info Cyrus]     [LARTC]     [Christmas Music]     [Bugtraq]     [Netfilter]     [Internet Dating Forums]     [RAID]     [Yosemite News]     [Photography]

Add to Google Powered by Linux