shithub: scc

Download patch

ref: fc104bb2dabf97b04570992b6c3a6082f0c1aec2
parent: c23e6c67795ed059049524920324241d6d0aece6
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Jun 23 10:08:17 EDT 2016

[cc1] Add stallman dependency to the Makefile

This dependency was lost and it meant that any change to
this file didn't cause the compilation of the project.
a
Also, the first line of the message was a bit distorsionated
due to the warning text.

--- a/cc1/Makefile
+++ b/cc1/Makefile
@@ -11,6 +11,8 @@
 ../inc/sizes.h:
 	cp ../inc/sizes_$(STD).h $@
 
+cpp.o: stallman.msg
+
 $(OBJS): cc1.h ../inc/cc.h ../inc/sizes.h arch/$(ARCH)/arch.h
 
 ../lib/libcc.a:
--- a/cc1/stallman.msg
+++ b/cc1/stallman.msg
@@ -1,4 +1,5 @@
 /* See LICENSE file for copyright and license details. */
+0x0a,
 0x2a, 0x20, 0x67, 0x20, 0x6f, 0x20, 0x61, 0x20, 0x74, 0x20, 0x73, 0x20,
 0x65, 0x20, 0x78, 0x20, 0x2a, 0x20, 0x67, 0x20, 0x6f, 0x20, 0x61, 0x20,
 0x74, 0x20, 0x73, 0x20, 0x65, 0x20, 0x78, 0x20, 0x2a, 0x20, 0x67, 0x20,