From 38b8061860986e90876a3a2ca64a279eb6016709 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 6 Apr 2017 10:42:56 -0700 Subject: 3815 Turns out enabling profiling requires '-pg' to also be passed in to the linker. Might as well pass all flags everywhere. --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . } -- cgit 1.4.1-2-gfad0