Module Name:    src
Committed By:   joerg
Date:           Fri May 20 13:11:40 UTC 2011

Modified Files:
        src/sys/modules/compat_linux32: Makefile

Log Message:
LLVM's assembler parser doesn't support .code32 yet, so disable it as
needed.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/modules/compat_linux32/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/modules/compat_linux32/Makefile
diff -u src/sys/modules/compat_linux32/Makefile:1.5 src/sys/modules/compat_linux32/Makefile:1.6
--- src/sys/modules/compat_linux32/Makefile:1.5	Sat Feb 14 13:56:41 2009
+++ src/sys/modules/compat_linux32/Makefile	Fri May 20 13:11:40 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2009/02/14 13:56:41 abs Exp $
+#	$NetBSD: Makefile,v 1.6 2011/05/20 13:11:40 joerg Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -8,6 +8,8 @@
 CPPFLAGS+=	-DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_LINUX
 CPPFLAGS+=	-DCOMPAT_LINUX32 -DCOMPAT_NETBSD32
 
+COPTS.linux32_sigcode.S+=	${${ACTIVE_CC} == "clang":?-no-integrated-as:}
+
 .PATH:	${S}/compat/linux32/common
 SRCS+=	linux32_dirent.c linux32_exec.c linux32_exec_elf32.c linux32_fcntl.c
 SRCS+=	linux32_ioctl.c linux32_misc.c linux32_mman.c

Reply via email to