You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build libsqlite3-sys, which uses cc-rs on Windows, and I am running into a gcc internal compiler error. Since it happens in the DWARF area of the compiler, I would like to switch off the debug info generation. In order to do that, I set CFLAGS=-g0, however, this results in the following command line:
Note that my -g0 comes before the automatically inserted -g - this leads to it being completely ignored. To me, one of the points of having CFLAGS is to be able to insert overrides like this one. Would it be possible to insert user-provided CFLAGS at the end of the command line?
The text was updated successfully, but these errors were encountered:
I'm trying to build
libsqlite3-sys
, which usescc-rs
on Windows, and I am running into a gcc internal compiler error. Since it happens in the DWARF area of the compiler, I would like to switch off the debug info generation. In order to do that, I setCFLAGS=-g0
, however, this results in the following command line:Note that my
-g0
comes before the automatically inserted-g
- this leads to it being completely ignored. To me, one of the points of havingCFLAGS
is to be able to insert overrides like this one. Would it be possible to insert user-providedCFLAGS
at the end of the command line?The text was updated successfully, but these errors were encountered: