Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: newlib/libc/sys/nacl/Makefile.am

Issue 1377003003: Specify output explicitly for the .c.o compile rule (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-newlib.git@master
Patch Set: Add comment to Makefile.am Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | newlib/libc/sys/nacl/Makefile.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## Process this file with automake to generate Makefile.in 1 ## Process this file with automake to generate Makefile.in
2 2
3 AUTOMAKE_OPTIONS = cygnus 3 AUTOMAKE_OPTIONS = cygnus
4 4
5 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) 5 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6 6
7 AM_CCASFLAGS = $(INCLUDES) 7 AM_CCASFLAGS = $(INCLUDES)
8 8
9 noinst_LIBRARIES = lib.a 9 noinst_LIBRARIES = lib.a
10 10
11 lib_a_SOURCES = dummysys.c aeabi_atexit.c 11 lib_a_SOURCES = dummysys.c aeabi_atexit.c
12 lib_a_CCASFLAGS = $(AM_CCASFLAGS) 12 lib_a_CCASFLAGS = $(AM_CCASFLAGS)
13 lib_a_CFLAGS = $(AM_CFLAGS) 13 lib_a_CFLAGS = $(AM_CFLAGS)
14 14
15 ## The automatically generated .c.o rule in Makefile.in does not specify the
16 ## output file name even though upper level Makefile assumes that the output
17 ## filename is crt0.o. However, this breaks when the compiler does not use .o
18 ## extension for object files. Newer Automake already specifies the output
19 ## filename, but since Newlib does not currently build with newer
20 ## Autoconf/Automake versions, we need to override the rule manually.
21 .c.o:
22 $(COMPILE) -c $< -o $@
23
15 all: crt0.o 24 all: crt0.o
16 25
17 ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. 26 ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
18 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host 27 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
OLDNEW
« no previous file with comments | « no previous file | newlib/libc/sys/nacl/Makefile.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698