diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-03-04 16:31:59 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-03-06 12:26:53 -0800 |
commit | 9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14 (patch) | |
tree | ac0caa58caa073b449040f2b2da0bfede9f03a7b | |
parent | 16d9941f3aa38dde115cbff639e131761c1b36d0 (diff) |
Don't need to use target-specific CFLAGS for makestrs
It's the only thing built in that directory, so we can use AM_CFLAGS
and drop the requirement for AM_PROG_CC_C_O in configure.ac
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Tested-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | util/Makefile.am | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index e268aa6..8945729 100644 --- a/configure.ac +++ b/configure.ac @@ -42,9 +42,6 @@ XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS XORG_CHECK_MALLOC_ZERO -# Some compilers do not support per target -c and -o flags -AM_PROG_CC_C_O - # Checks for header files. AC_CHECK_HEADER([alloca.h], AC_DEFINE(INCLUDE_ALLOCA_H, 1, [Define to 1 if Xalloca.h should include <alloca.h>])) diff --git a/util/Makefile.am b/util/Makefile.am index 969ecef..dedfa6b 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -10,7 +10,7 @@ EXTRA_DIST = \ StrDefs.ht \ string.list -makestrs_CFLAGS = $(XT_CFLAGS) +AM_CFLAGS = $(XT_CFLAGS) makestrs_SOURCES = makestrs.c |