diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-04-06 10:42:56 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-04-06 10:42:56 -0700 |
commit | 38b8061860986e90876a3a2ca64a279eb6016709 (patch) | |
tree | b9ee519421a689ee59236069d3f6856410505081 | |
parent | e317da73b02d2d0e4d62584c93ed31126bb545ca (diff) | |
download | mu-38b8061860986e90876a3a2ca64a279eb6016709.tar.gz |
3815
Turns out enabling profiling requires '-pg' to also be passed in to the linker. Might as well pass all flags everywhere.
-rwxr-xr-x | build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build index 309b53d5..bcab9a26 100755 --- a/build +++ b/build @@ -135,7 +135,7 @@ older_than mu_bin mu.cc *_list cleave/cleave termbox/* && { ar rcs libtermbox.a *.o } noisy_cd .. - $CXX .build/*.o termbox/libtermbox.a -o .build/mu_bin + $CXX $CFLAGS .build/*.o termbox/libtermbox.a -o .build/mu_bin cp .build/mu_bin . } |