diff options
| author | Lion Kortlepel <[email protected]> | 2026-01-25 16:18:26 +0000 |
|---|---|---|
| committer | Lion Kortlepel <[email protected]> | 2026-01-25 16:18:26 +0000 |
| commit | 90aa7613246697a483d765b9ce5a1eb199eda6c2 (patch) | |
| tree | 89b7fcb1f3a197bd65936ee3ebc27a84b4e52b04 /Makefile | |
| parent | 9103fe385e3f9e0fc3502b17b36891c9b251a6da (diff) | |
| download | args-90aa7613246697a483d765b9ce5a1eb199eda6c2.tar.zst args-90aa7613246697a483d765b9ce5a1eb199eda6c2.zip | |
fix: fix debug info displaying wrong file/line info
in tests specifically
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ tests/tests: ls_args.o tests/tests.c tests/ls_test.h # most pedantic settings. # Dont use this. ls_args.o: ls_args.h - echo -e "#include <stddef.h>\nvoid* test_realloc(void*, size_t);" >.test.h + echo -e "#include <stddef.h>\nvoid* test_realloc(void*, size_t);\n#line 1 \"ls_args.h\"" >.test.h cat .test.h ls_args.h >.ls_args_test.c rm .test.h $(CC) -c -x c -o $@ .ls_args_test.c -Wall -Wextra -Wpedantic -Werror -std=c89 -ggdb \ |
