~ubuntu-branches/debian/sid/gcc-4.8/sid

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# DP: Modify gdc driver to have no libphobos by default.

--- a/src/gcc/d/d-lang.cc	2011-07-24 15:48:55.796035654 +0100
+++ b/src/gcc/d/d-lang.cc	2011-07-24 18:19:45.108908785 +0100
@@ -148,7 +148,7 @@
 d_init_options_struct (struct gcc_options *opts)
 {
     // GCC options
-    opts->x_flag_exceptions = 1;
+    opts->x_flag_exceptions = 0;
 
     // Avoid range issues for complex multiply and divide.
     opts->x_flag_complex_method = 2;
--- a/src/gcc/d/d-spec.c	2011-07-24 15:48:55.820035782 +0100
+++ b/src/gcc/d/d-spec.c	2011-07-24 18:20:43.841200023 +0100
@@ -84,7 +84,7 @@
 
     /* If nonzero, use the standard D runtime library when linking with
        standard libraries. */
-    int phobos = 1;
+    int phobos = 0;
 
     /* The number of arguments being added to what's in argv, other than
        libraries.  We use this to track the number of times we've inserted