Don't set C_OPTIMIZE_SWITCH.
[emacs.git] / src / m / ncr386.h
blob2599456a873a84193e9c2b88469f131717b1164c
1 #include "intel386.h"
3 #ifndef __GNUC__
4 /* Allow emacs to link with "bcopy()" unresolved. Works around a
5 problem where /usr/lib/libX11.so provides bcopy, but
6 /usr/ccs/lib/libX11.so does not. */
7 #define LD_SWITCH_X_DEFAULT -Wl,-z,nodefs
8 #else /* __GNUC__ */
10 /* Assuming we are using GNU ld, pass a -R option to it
11 so that shared libraries will be found at execution time
12 just as they are found at link time. */
13 #define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX
15 #endif /* __GNUC__ */