Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBuild should support custom CFLAGS #168
Comments
|
For which submodules is this a problem? |
|
I've had this problem with libcss. I assume that part of the problem is https://github.com/mozilla/servo/blob/master/Makefile.in#L102, which looks like it unconditionally assigns both CFLAGS and RUSTFLAGS. |
|
Testing: Case 1: Case 2: Case 3:
|
|
That patch looks ok, but it seems like we have now lost -O2 in the default case. |
|
If that is desirable it is easy to add. I will do that right now. |
|
Testing: Case 1:
Case 2:
|
|
Thanks. |
The only first <shadow> element is used
Right now CFLAGS is always overridden by the Makefiles, so turning off optimizations and turning on debug info is difficult.