projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.9
[chise/xemacs-chise.git.1]
/
src
/
s
/
sco5.h
diff --git
a/src/s/sco5.h
b/src/s/sco5.h
index
a404b70
..
f900f12
100644
(file)
--- a/
src/s/sco5.h
+++ b/
src/s/sco5.h
@@
-125,14
+125,8
@@
could #define sco and I think everything would work. rjl */
#ifdef _SCO_ELF
#undef COFF /* coz we're NOT */
#define UNEXEC "unexelf.o"
#ifdef _SCO_ELF
#undef COFF /* coz we're NOT */
#define UNEXEC "unexelf.o"
-#if defined (__GNUC_MINOR__)
-#if ((__GNUC__ == 2) && (__GNUC_MINOR__ > 7)) || ((__GNUC__ > 2))
-#define LIB_GCC "-lgcc"
-#else
-#define LIB_GCC "-lgcc-elf"
-#endif
-#else /* __GNUC_MINOR__ is undefined */
-#define LIB_GCC "-lgcc-elf"
-#endif
#endif
#endif
+/* For GCC 2.7.2.3 we require the "JKJ" version of gcc.
+ Works fine with egcs and gcc 2.8.x. */
+#define LIB_GCC "`$(LD) $(LDFLAGS) -print-libgcc-file-name`"