Commit 1a7c86b9 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

freeglut has duplicate symbols - tell GCC to ignore them

parent 5c62e23a
all:
tar xf freeglut-3.2.1.tar.gz
mkdir freeglut-3.2.1/build
cd freeglut-3.2.1/build && CMAKE_LIBRARY_PATH=/usr/lib CMAKE_INCLUDE_PATH=/usr/include cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DFREEGLUT_BUILD_DEMOS=OFF -DFREEGLUT_BUILD_STATIC_LIBS=OFF ..
cd freeglut-3.2.1/build && CFLAGS="-fcommon" CMAKE_LIBRARY_PATH=/usr/lib CMAKE_INCLUDE_PATH=/usr/include cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DFREEGLUT_BUILD_DEMOS=OFF -DFREEGLUT_BUILD_STATIC_LIBS=OFF ..
$(MAKE) -C freeglut-3.2.1/build
$(MAKE) -C freeglut-3.2.1/build install
rm -rf freeglut-3.2.1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment