Bug 172609

Summary: [patch] audio/oss: respect CC
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Jason E. Hale <jhale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
cc.diff none

Description Jan Beich freebsd_committer freebsd_triage 2012-10-11 12:49:48 UTC
Don't ignore CC set via environment, make.conf or bsd.gcc.mk (USE_GCC).

How-To-Repeat: $ make -V CC
clang

$ make
===>  Building for oss-4.2.b2007
for n in lib cmd kernel os_cmd kernel/OS/FreeBSD;do (echo $n && cd $n && make ARCH=amd64) || eval 'exit 1'; done
lib
for n in libossmix;do (echo $n && cd $n && make ARCH=amd64) || eval 'exit 1'; done
libossmix
cc -c -O2 -pipe -O -shared -fPIC -DOSS_LITTLE_ENDIAN  -I../../include -I../../kernel/framework/include  -I../../kernel/OS/FreeBSD  -I../../kernel/nonfree/include -I../.. libossmix_cache.c -o ./libossmix_cache.o
*** [./libossmix_cache.o] Error code 1

Stop in /usr/ports/audio/oss/work/build/lib/libossmix.
*** [subdirs] Error code 1
Comment 1 Jason E. Hale freebsd_committer freebsd_triage 2012-10-26 06:20:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jhale

I'll take it.
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2012-10-26 06:32:18 UTC
State Changed
From-To: open->closed

Committed. Thanks!