Skip to content

Commit

Permalink
msys2 Makefile
Browse files Browse the repository at this point in the history
change optimization to -O3, gcc doesn't crash on higher optimizations
  • Loading branch information
arturoc committed Oct 13, 2015
1 parent 28a74d0 commit 97fc512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion videoInputSrcAndDemos/msys2/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: ../../compiledLib/msys2/libvideoinput.a

../libs/videoInput/videoInput.o: ../libs/videoInput/videoInput.cpp Makefile
@g++ -c $< -o "$@" -O1 -I../libs/videoInput/
@g++ -c $< -o "$@" -O3 -I../libs/videoInput/

../../compiledLib/msys2/libvideoinput.a: ../libs/videoInput/videoInput.o
@mkdir -p ../../compiledLib/msys2
Expand Down

0 comments on commit 97fc512

Please sign in to comment.