diff options
author | markd <markd@pkgsrc.org> | 2008-06-03 22:20:35 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2008-06-03 22:20:35 +0000 |
commit | 53cf8df6c05cfc41050e627b2804c48cae0fbf42 (patch) | |
tree | 561bb68066dbc3a49681bdbeb1727d441b8d1cab /editors/emacs21 | |
parent | 91d27fdf358e8afde106705d3ec04d4921ef99b3 (diff) | |
download | pkgsrc-53cf8df6c05cfc41050e627b2804c48cae0fbf42.tar.gz |
Fix build with gcc41 on dragonfly.
emacs21 part of PR pkg/38633 from Hasso Tepper.
Diffstat (limited to 'editors/emacs21')
-rw-r--r-- | editors/emacs21/files/dragonfly.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/emacs21/files/dragonfly.h b/editors/emacs21/files/dragonfly.h index 604cda4a62e..4f17515b805 100644 --- a/editors/emacs21/files/dragonfly.h +++ b/editors/emacs21/files/dragonfly.h @@ -49,6 +49,9 @@ Boston, MA 02111-1307, USA. */ #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 |