Bug 172609 - [patch] audio/oss: respect CC
Summary: [patch] audio/oss: respect CC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason E. Hale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-11 12:49 UTC by Jan Beich
Modified: 2012-10-26 06:32 UTC (History)
0 users

See Also:


Attachments
cc.diff (664 bytes, patch)
2012-10-11 12:49 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!