Use DEBUG instead of __NO_INLINE__ since this is not defined for -Os
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ docs: $(DOCMAKEFILES)
|
||||
(cd $(dir $@); ../../etc/makemake.py --cc="gcc" --cflags="" --relpath --objext=-test.o --template ../../etc/Makefile.test.template . . ../../utils ../../drivers ../../drivers/test ../../extra > Makefile.test)
|
||||
|
||||
../%/Makefile: Makefile.template Makefile makemake.py
|
||||
(cd $(dir $@); ../../etc/makemake.py --cc="avr-gcc" --cflags="-Os -mmcu=atmega32u2 -finline" --relpath --template ../../etc/Makefile.template . . ../../utils ../../fonts ../../drivers ../../drivers/avr ../../extra > Makefile)
|
||||
(cd $(dir $@); ../../etc/makemake.py --cc="avr-gcc" --cflags="-Os -mmcu=atmega32u2" --relpath --template ../../etc/Makefile.template . . ../../utils ../../fonts ../../drivers ../../drivers/avr ../../extra > Makefile)
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -260,7 +260,7 @@ def maincfilename_find (dirname):
|
||||
|
||||
def functions_find (filepath, functiondeps, functions, options):
|
||||
|
||||
command = options.compile + ' -c ' + filepath + ' -fdump-tree-cfg-raw -fno-inline > /dev/null'
|
||||
command = options.compile + ' -c ' + filepath + ' -fdump-tree-cfg-raw -Ddebug > /dev/null'
|
||||
if options.debug:
|
||||
print >> sys.stderr, command
|
||||
os.system (command)
|
||||
|
||||
Reference in New Issue
Block a user