summaryrefslogtreecommitdiff
path: root/src/mman/mlock.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-03-24 22:47:36 -0400
committerRich Felker <dalias@aerifal.cx>2018-03-24 22:47:36 -0400
commitc7bb9c41d2e62b7ad1c7858d4d0f2873642e634b (patch)
treeabf92396ce85eb2dd392f8c3cec06bcfd84df5d3 /src/mman/mlock.c
parenta7c53e0c2cd8fc45eac90c0468e44697019ceda6 (diff)
downloadmusl-c7bb9c41d2e62b7ad1c7858d4d0f2873642e634b.tar.gz
adjust makefile target-specific CFLAGS rules to be more robust & complete
previously, MEMOPS_SRCS failed to include arch-specific replacement files for memcpy, etc., omitting CFLAGS_MEMOPS and thereby potentially causing build failure if an arch provided C (rather than asm) replacements for these files. instead of trying to explicitly include all the files that might have arch replacements, which is prone to human error, extract final names to be used out of $(LIBC_OBJS), where the rules for arch replacements have already been applied. do the same for NOSSP_OBJS, using CRT_OBJS and LDSO_OBJS rather than repeating ourselves with $(wildcard...) and explicit pathnames again.
Diffstat (limited to 'src/mman/mlock.c')
0 files changed, 0 insertions, 0 deletions