Skip to content

Commit

Permalink
configure: Rework how we select linker
Browse files Browse the repository at this point in the history
  • Loading branch information
andoma committed Feb 16, 2016
1 parent 9c4e571 commit a60c90b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion configure.nacl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ fi
TOOLCHAIN=${PEPPER}/toolchain/${HOSTENV}_pnacl/bin/pnacl-

CC=${TOOLCHAIN}clang
LINKER=${TOOLCHAIN}clang
FINALIZE=${TOOLCHAIN}finalize
CXX=${TOOLCHAIN}clang++

Expand Down
1 change: 0 additions & 1 deletion configure.osx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ARCH=`uname -m`
MACOSXTARGET=""
MACOSXSDK=""
CC=cc
LINKER=cc
CXX=c++

show_help(){
Expand Down
1 change: 0 additions & 1 deletion configure.ps3
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ CONFIGURE_POSTFIX="ps3"
source support/configure.inc
TOOLCHAIN="${PS3DEV}/host/ppu/bin/ppu-"
CC=${TOOLCHAIN}gcc
LINKER=${TOOLCHAIN}gcc

LIBAV_CFLAGS="-mminimal-toc -I${PSL1GHT}/target/include -B${PSL1GHT}/target/lib -B${PS3DEV}/host/ppu/lib -I${PS3DEV}/host/ppu/include -include ${TOPDIR}/support/nostrictansi.h"

Expand Down
1 change: 0 additions & 1 deletion configure.rpi
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ done
[ -z "$TOOLCHAIN" ] && die_cause "--toolchain not specified"

CC=${TOOLCHAIN}gcc
LINKER=${TOOLCHAIN}gcc
CXX=${TOOLCHAIN}g++

setup_env "$@"
Expand Down
1 change: 1 addition & 0 deletions support/configure.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ DEFAULT_LOGTARGET=""
APPNAME="Movian"
OPTLEVEL=2
PLUGINREPO="https://plugins.movian.tv/repo/plugins-v1.json"
LINKER="\${CC}" # Default is to link with c-compiler

CONFIG_LIST="
libasound
Expand Down

0 comments on commit a60c90b

Please sign in to comment.