[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Makefile patch

From: Marcelo Jimenez
Subject: [Tinycc-devel] Makefile patch
Date: Sun, 28 Aug 2005 13:20:51 -0300

The following patch addresses this issue:

The configure script generates config.mak, which has the variable CFLAGS set to -O2 by default, or any other value if the user chooses to enter --extra-cflags. But Makefile will discard it, unless you have += instead of =. Also removed -O2 from Makefile, as it is default on config.mak. The user might want to try something else.

I am sending the patch in the mail and attached, I don't know how you preffer it.


Index: Makefile
RCS file: /cvsroot/tinycc/tinycc/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- Makefile    17 Jun 2005 22:03:50 -0000    1.37
+++ Makefile    28 Aug 2005 16:03:28 -0000
@@ -3,7 +3,7 @@
 include config.mak
-CFLAGS=-O2 -g -Wall
+CFLAGS+=-g -Wall
 ifndef CONFIG_WIN32

Attachment: Makefile.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]