Skip to content

Commit

Permalink
Use cp -pRP instead of cp -a in make
Browse files Browse the repository at this point in the history
The latter is not supported by POSIX, and causes installation failures
for some systems.
  • Loading branch information
albinahlback committed Jan 6, 2025
1 parent 931272f commit 518886c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ STRIP:=@STRIP@
RM_F:=rm -f
RM_RF:=rm -rf
CP:=cp
CP_A:=cp -a
# `cp -a` is not supported on all systems, but `cp -pRP` seems to be POSIX.
CP_A:=cp -pRP
GDB:=gdb

STATIC:=@STATIC@
Expand Down

0 comments on commit 518886c

Please sign in to comment.