diff options
author | obache <obache@pkgsrc.org> | 2008-07-01 13:24:34 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-07-01 13:24:34 +0000 |
commit | d5b716a13c1c2617694cbfa4d05c96fe1fc965a5 (patch) | |
tree | d497ea19ff9dc3eae0f024b11f201da533aafb51 /editors | |
parent | 7f85d85227cba6c3a5fa1e72e566c543a9c325e5 (diff) | |
download | pkgsrc-d5b716a13c1c2617694cbfa4d05c96fe1fc965a5.tar.gz |
Fix build with gcc41 on DragonFly BSD.
xemacs part of PR pkg/38633 from Hasso Tepper.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs/files/dragonfly.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/xemacs/files/dragonfly.h b/editors/xemacs/files/dragonfly.h index 7c6a4e4df33..50f001d3c57 100644 --- a/editors/xemacs/files/dragonfly.h +++ b/editors/xemacs/files/dragonfly.h @@ -42,6 +42,9 @@ #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o #define LIB_STANDARD -L/usr/lib/gcc34 -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o # endif +#elif defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 1 +#define START_FILES pre-crt0.o /usr/lib/gcc41/crt1.o /usr/lib/gcc41/crti.o /usr/lib/gcc41/crtbegin.o +#define LIB_STANDARD -L/usr/lib/gcc41 -lgcc -lc -lgcc /usr/lib/gcc41/crtend.o /usr/lib/gcc41/crtn.o #else #error "Add compiler version magic" #endif |