about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-04-06 10:42:56 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-04-06 10:42:56 -0700
commit38b8061860986e90876a3a2ca64a279eb6016709 (patch)
treeb9ee519421a689ee59236069d3f6856410505081
parente317da73b02d2d0e4d62584c93ed31126bb545ca (diff)
downloadmu-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-xbuild2
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 .
 }