Ticket #318: static-o.diff

File static-o.diff, 785 bytes (added by KO Myung-Hun, 9 years ago)

patch for -static-o problem

  • src/gcc/gcc/config/i386/emx.h

    diff --git a/src/gcc/gcc/config/i386/emx.h b/src/gcc/gcc/config/i386/emx.h
    index e8c0de4..bc6c536 100755
    a b do { \ 
    440440
    441441/* Provide extra args to the linker and extra switch-translations.  */
    442442#define LINK_SPEC                                                              \
    443   "%{Zexe} %{Zstack*} %{Zmap*} %{Zsym} %{Zdll} %{shared:-Zdll} %{static:-static}" \
     443  "%{Zexe} %{Zstack*} %{Zmap*} %{Zsym} %{Zdll} %{shared:-Zdll} %{static:-static} " \
    444444  "%{!o*:-o %b%{Zdll|shared:.dll}%{!Zdll:%{!shared:%{!Zexe:.exe}}}} "          \
    445445  "%{static:%{Zcrtdll*:%e-static and -Zcrtdll are incompatible}}"              \
    446446  "%{Zomf:%{Zaout:%e-Zomf and -Zaout are incompatible}}"                       \