Fix build on 9.2+/i386 by adding -fomit-frame-pointer to the clang

case (which is default on amd64 anyway.)

Submitted by:	beefy1 via pkg-fallout, dim
Tested by:	callumgibson@optusnet.com.au
This commit is contained in:
Juergen Lock 2013-11-08 22:52:58 +00:00
parent ea6ed52d43
commit feee863c65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333267

View file

@ -379,6 +379,7 @@ CONFIGURE_ARGS+=--enable-altivec # VLC's config script doesn't know to do this
CC= clang
CXX= clang++
CPP= clang-cpp
CFLAGS+= -fomit-frame-pointer
.else
.if ${ARCH} == "i386"
USE_GCC?= yes # sse/3dnow detection on i386 needs newer GCC