~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_64bit.m4

We actually have to set CFLAGS/CXXFLAGS. Suck.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
       libdir="${libdir}/${isainfo_k}"
38
38
      ])
39
39
 
40
 
      CC="${CC} -m64"
41
 
      CXX="${CXX} -m64"
 
40
      AS_IF([test "x${ac_cv_env_CFLAGS_set}" = "x"],[
 
41
        CFLAGS="${CFLAGS} -m64"
 
42
      ])
 
43
      AS_IF([test "x${ac_cv_env_CXXFLAGS_set}" = "x"],[
 
44
        CXXFLAGS="${CXXFLAGS} -m64"
 
45
      ])
 
46
 
42
47
      AS_IF([test "$target_cpu" = "sparc" -a "x$SUNCC" = "xyes"],[
43
48
        AM_CFLAGS="-xmemalign=8s ${AM_CFLAGS}"
44
49
        AM_CXXFLAGS="-xmemalign=8s ${AM_CXXFLAGS}"