Skip to content

Commit

Permalink
src/Makefile.static: Some experiement with template compilation and l…
Browse files Browse the repository at this point in the history
…inktimeoptim

	modified:   Makefile.static
  • Loading branch information
jeromeetienne committed Aug 23, 2010
1 parent db6745b commit 867662e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Makefile.static
Expand Up @@ -1932,9 +1932,16 @@ DBG_OPT += -Wno-unused
# jme- to make the template instance unique at link-time. i dont really get what it is or how to use it tho
# would make the code smaller. i tried and it created compilation error at link time
# DBG_OPT += -frepo
# LINK_OPT+= -frepo
# jme- for stuff i dont really get about precompiled header (not important as they are not compatible with distcc)
# DBG_OPT += -fpch-preprocess

# jme- try to enable LinkTimeOptimisation - apparently ubuntu doesnt support it
#DBG_OPT += -flto
#LINK_OPT+= -flto



# NOTE: to launch it from shell do "./m DEBUG_BUILD=1" in a build_TARGETOS/ directory
#DEBUG_BUILD=1
ifeq ($(DEBUG_BUILD),1)
Expand Down

0 comments on commit 867662e

Please sign in to comment.