build: fixed cflags in CHECK_CODE
authorAndrew Tridgell <tridge@samba.org>
Mon, 15 Mar 2010 07:48:59 +0000 (18:48 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:49 +0000 (20:26 +1000)
buildtools/wafsamba/samba_autoconf.py

index b3b9c09d33f905a5460c1fec85b70fc482982534..0ce08ee1b93ebb7b2f266bd361f2fdddcb7a06e7 100644 (file)
@@ -206,7 +206,7 @@ def CHECK_CODE(conf, code, define,
                   execute=execute,
                   define_name = define,
                   mandatory = mandatory,
-                  samba_cflags=TO_LIST(cflags),
+                  ccflags=TO_LIST(cflags),
                   includes=includes,
                   msg=msg):
         conf.DEFINE(define, 1)