trunk/makefile
| r23926 | r23927 | |
| 544 | 544 | endif |
| 545 | 545 | ifneq (,$(findstring memory,$(SANITIZE))) |
| 546 | 546 | ifneq (,$(findstring clang,$(CC))) |
| 547 | | CCOMFLAGS += -fsanitize-memory-track-origins |
| 547 | CCOMFLAGS += -fsanitize-memory-track-origins -fPIE |
| 548 | 548 | endif |
| 549 | 549 | endif |
| 550 | 550 | endif |
| r23926 | r23927 | |
| 619 | 619 | ifneq (,$(findstring thread,$(SANITIZE))) |
| 620 | 620 | LDFLAGS += -pie |
| 621 | 621 | endif |
| 622 | ifneq (,$(findstring memory,$(SANITIZE))) |
| 623 | LDFLAGS += -pie |
| 622 | 624 | endif |
| 625 | endif |
| 623 | 626 | |
| 624 | 627 | |
| 625 | 628 | #------------------------------------------------- |