Fix linkage when neither static nor shared are provided

parent 0b47d409
......@@ -2,7 +2,7 @@
#define TARGET_REDOX 1
#undef LIB_SPEC
#define LIB_SPEC "-lc"
#define LIB_SPEC "-lc %{!static:-lgcc_s}"
#undef LINK_SPEC
#define LINK_SPEC "%{shared:-shared} %{static:-static} %{!shared: %{!static: %{rdynamic:-export-dynamic}}}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment