summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-03-04 16:31:59 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-03-06 12:26:53 -0800
commit9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14 (patch)
treeac0caa58caa073b449040f2b2da0bfede9f03a7b
parent16d9941f3aa38dde115cbff639e131761c1b36d0 (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.ac3
-rw-r--r--util/Makefile.am2
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