Merge pull request #12 from chris-cartwright/master
Set C99 for Raspbian jessie
This commit is contained in:
commit
01b99baa0a
1 changed files with 1 additions and 0 deletions
|
|
@ -311,6 +311,7 @@ function install_fbcp() {
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
echo "Building rpi-fbcp..."
|
echo "Building rpi-fbcp..."
|
||||||
|
echo -e "\nset (CMAKE_C_FLAGS \"-std=gnu99 ${CMAKE_C_FLAGS}\")" >> ../CMakeLists.txt
|
||||||
cmake .. 1> /dev/null || { warning "Failed to cmake fbcp!" && exit 1; }
|
cmake .. 1> /dev/null || { warning "Failed to cmake fbcp!" && exit 1; }
|
||||||
make 1> /dev/null || { warning "Failed to make fbcp!" && exit 1; }
|
make 1> /dev/null || { warning "Failed to make fbcp!" && exit 1; }
|
||||||
echo "Installing rpi-fbcp..."
|
echo "Installing rpi-fbcp..."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue