Removing more fat from the parser lib
This commit is contained in:
parent
a6246a52a0
commit
c1209452cd
11 changed files with 360 additions and 566 deletions
9
Makefile
9
Makefile
|
|
@ -6,7 +6,7 @@
|
|||
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
|
||||
# Updated: 2024/08/18 22:01:52 by maiboyer ### ########.fr #
|
||||
# Updated: 2024/08/19 14:00:31 by maiboyer ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
|
@ -45,15 +45,16 @@ endif
|
|||
|
||||
# TODO: ADD THIS WHEN FINISHING THIS:
|
||||
# CFLAGS_ADDITIONAL += -DNVALGRIND
|
||||
CFLAGS_ADDITIONAL += -O0 -Wno-cpp -Wno-type-limits
|
||||
|
||||
# TODO: REMOVE THIS WHEN FINISHING THIS:
|
||||
CFLAGS_ADDITIONAL += -O0
|
||||
CFLAGS_ADDITIONAL += -Wno-cpp -Wno-type-limits
|
||||
CFLAGS_ADDITIONAL += -gcolumn-info -g3
|
||||
CFLAGS_ADDITIONAL += '-DERROR=((void)printf("ERROR HERE: " __FILE__ ":%d in %s\n", __LINE__, __func__), 1)'
|
||||
CFLAGS_ADDITIONAL += '-Dinline=' -Wno-unused-function
|
||||
#CFLAGS_ADDITIONAL += -O2
|
||||
# CFLAGS_ADDITIONAL += -fuse-ld=gold -Wl,--print-symbol-counts -Wl,/tmp/symbols_count.log
|
||||
#CFLAGS_ADDITIONAL += -fuse-ld=lld -Wl,--verbose -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--print-gc-sections -Wl,-Map=output.map
|
||||
|
||||
CFLAGS_ADDITIONAL += -fuse-ld=lld -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,-O0
|
||||
|
||||
export CFLAGS_ADDITIONAL
|
||||
export CC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue