Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mcs/build/ChangeLog5
-rw-r--r--mcs/build/config-default.make2
2 files changed, 7 insertions, 0 deletions
diff --git a/mcs/build/ChangeLog b/mcs/build/ChangeLog
index 5d3f1e45d77..4318f1146f0 100644
--- a/mcs/build/ChangeLog
+++ b/mcs/build/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-01 Zoltan Varga <vargaz@gmail.com>
+
+ * config-default.make (LIBRARY_FLAGS): Applied patch from Laurent Etiemble
+ (laurent.etiemble@gmail.com). Use CFLAGS in the environment if defined.
+
2010-01-12 Zoltan Varga <vargaz@gmail.com>
* profiles/basic.make: Document that mono 2.6 can't be compiled with mono SVN HEAD.
diff --git a/mcs/build/config-default.make b/mcs/build/config-default.make
index c556006cfc5..a6969592c55 100644
--- a/mcs/build/config-default.make
+++ b/mcs/build/config-default.make
@@ -14,7 +14,9 @@ TEST_HARNESS = $(topdir)/class/lib/$(PROFILE)/nunit-console.exe
MCS_FLAGS = $(PLATFORM_DEBUG_FLAGS)
MBAS_FLAGS = $(PLATFORM_DEBUG_FLAGS)
LIBRARY_FLAGS = /noconfig
+ifndef CFLAGS
CFLAGS = -g -O2
+endif
prefix = /usr/local
exec_prefix = $(prefix)
mono_libdir = $(exec_prefix)/lib