From owner-freebsd-current@FreeBSD.ORG Wed Mar 16 09:30:31 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5774B16A4CE for ; Wed, 16 Mar 2005 09:30:31 +0000 (GMT) Received: from peedub.jennejohn.org (J8a1a.j.pppool.de [85.74.138.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7990243D39 for ; Wed, 16 Mar 2005 09:30:30 +0000 (GMT) (envelope-from garyj@jennejohn.org) Received: from jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.13.3/8.11.6) with ESMTP id j2G9USKb026310 for ; Wed, 16 Mar 2005 10:30:28 +0100 (CET) (envelope-from garyj@jennejohn.org) Message-Id: <200503160930.j2G9USKb026310@peedub.jennejohn.org> X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: freebsd-current@freebsd.org From: Gary Jennejohn Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 Mar 2005 10:30:28 +0100 Sender: garyj@jennejohn.org Subject: FFLAGS instead of COPTFLAGS in module builds? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 09:30:31 -0000 Why does the module build use CFLAGS instead of COPTFLAGS? I noticed it here during the module build: ===> linux (all) cc -c -pipe -O2 -mmmx -m3dnow -msse -mfpmath=sse -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -include /u4/obj/usr/src/sys/amd64_32/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -g -I/u4/obj/usr/src/sys/amd64_32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 /usr/src/sys/modules/linux/../../i386/linux/linux_genassym.c /usr/src/sys/modules/linux/../../i386/linux/linux_genassym.c:1: warning: SSE instruction set disabled, using 387 arithmetics *** Error code 1 My CFLAGS was used instead of the COPTFLAGS, as I would have expected. After all, modules are part of the kernel. -------- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org garyj[at]denx.de