diff options
author | Thomas Orgis | 2008-09-19 09:59:30 +0200 |
---|---|---|
committer | Thomas Orgis | 2008-09-19 09:59:30 +0200 |
commit | 7180a1dba62a8b3b4cab94f67d551891853151e9 (patch) | |
tree | 920e71ba58fb8ab4e5904e2e602b2615081307ee /audio-drivers/libffado | |
parent | 28e748087c491474e94abfafe8fc709d8e165b0d (diff) |
libffado: not just disable debug, but also enable optimization explicitly
also be careful not to do i686 build on alpha
Diffstat (limited to 'audio-drivers/libffado')
-rwxr-xr-x | audio-drivers/libffado/BUILD | 7 | ||||
-rw-r--r-- | audio-drivers/libffado/HISTORY | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/audio-drivers/libffado/BUILD b/audio-drivers/libffado/BUILD index 756fe9edd6..292b5b837d 100755 --- a/audio-drivers/libffado/BUILD +++ b/audio-drivers/libffado/BUILD @@ -1,2 +1,7 @@ cd "$SOURCE_DIRECTORY" && -scons PREFIX=/usr DEBUG=no +if [[ ${SMGL_COMPAT_ARCHS[1]} == alpha ]]; then + scons PREFIX=/usr DEBUG=no ENABLE_OPTIMIZATIONS=yes DIST_TARGET=none +else + # note: this always compiles for current cpu + scons PREFIX=/usr DEBUG=no ENABLE_OPTIMIZATIONS=yes +fi diff --git a/audio-drivers/libffado/HISTORY b/audio-drivers/libffado/HISTORY index 3fc21f3d5d..800a349dfc 100644 --- a/audio-drivers/libffado/HISTORY +++ b/audio-drivers/libffado/HISTORY @@ -1,7 +1,8 @@ 2008-09-19 Thomas Orgis <sobukus@sourcemage.org> * PRE_BUILD, DEPENDS, libffado-atomic_ops.patch: attempt to make it work on alpha using libatomic_ops - * BUILD: do not do debug build, allow some optimization + * BUILD: do not do debug build, allow some optimization, + also make sure alpha cpu does not get funny x86 flags 2008-09-15 Thomas Orgis <sobukus@sourcemage.org> * PRE_BUILD, libffado-pic.patch: fix build with PIC |