Commit cefbba5
committed
Build newlib with POSIX mode
- newlib was default to XOPEN MODE before 2018/12/6[1], but newlib
decide to remove XOPEN mode SVID3 mode, and change the default IEEE
mode.
- The problem is IEEE won't set errno on several math function, so
build with POSIX mode would be better for newlib.
- For newlib nano, we might able to build with _IEEE_LIBM in future
to reduce code size, and improve performance.
[1] https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=b14a879d85b171960df789ac8ba2332004f838e01 parent 0964df6 commit cefbba5
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | | - | |
| 480 | + | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
0 commit comments