summaryrefslogtreecommitdiff
path: root/editors/emacs20/files
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-07-01 13:22:06 +0000
committerobache <obache@pkgsrc.org>2008-07-01 13:22:06 +0000
commit7f85d85227cba6c3a5fa1e72e566c543a9c325e5 (patch)
tree721783093a9afa7a2da8fadf2e417711f822ce91 /editors/emacs20/files
parent17e22830f3dbd7e3591518a26690ad5309f549d4 (diff)
downloadpkgsrc-7f85d85227cba6c3a5fa1e72e566c543a9c325e5.tar.gz
Fix build with gcc41 on DragonFly BSD.
emacs20 part of PR pkg/38633 from Hasso Tepper.
Diffstat (limited to 'editors/emacs20/files')
-rw-r--r--editors/emacs20/files/dragonfly.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/emacs20/files/dragonfly.h b/editors/emacs20/files/dragonfly.h
index 8399c7d14c5..d79c107993a 100644
--- a/editors/emacs20/files/dragonfly.h
+++ b/editors/emacs20/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