diff Makefile @ 1299:da1ffc4026c4

Fix latching of V32 mode bit
author Michael Pavone <pavone@retrodev.com>
date Sat, 25 Mar 2017 11:31:43 -0700
parents 555f2ac537e7
children 208803173ebc
line wrap: on
line diff
--- a/Makefile	Sat Mar 25 00:21:32 2017 -0700
+++ b/Makefile	Sat Mar 25 11:31:43 2017 -0700
@@ -82,8 +82,7 @@
 endif
 
 ifdef PROFILE
-CFLAGS+= -pg
-LDFLAGS+= -pg
+LDFLAGS+= -Wl,--no-as-needed -lprofiler -Wl,--as-needed
 endif
 ifdef NOGL
 CFLAGS+= -DDISABLE_OPENGL