summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-01-10 19:48:14 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-05-15 15:53:29 +0200
commit20d337a7dfacfbd98174105d76528dab3b561bee (patch)
tree9ad04c2c86e96e34bc0dd486244b65ac692c50a0 /bin
parent7299c4d24b98b92c8bb9d17d146b46777ab12953 (diff)
downloadautomake-20d337a7dfacfbd98174105d76528dab3b561bee.tar.gz
depend: assume '-c' compiler flag always means to produce object files
Rather than fully-fledged executables. This is the case for all the compilers of all languages supported by Automake. This is just a simplification; no semantic changes are intended. * bin/automake.in (handle_languages): Drop transform '%-c%'. * lib/am/depend2.am: Adjust to just assume the '%-c%' transform expands to "-c". Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/automake.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/automake.in b/bin/automake.in
index df6560d3a..23fb215c4 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -1282,7 +1282,6 @@ sub handle_languages ()
'FPFX' => $fpfx,
'AMDEP' => $AMDEP,
'FASTDEP' => $FASTDEP,
- '-c' => $lang->compile_flag || '',
# These are not used, but they need to be defined
# so transform() does not complain.
'DERIVED-EXT' => 'BUG',