blob: 318a6c2ed43c3f37280c19a25d87ac9a7531569f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- kdevelop-5.5.2/kdevplatform/cmake/modules/KDevPlatformMacros.cmake.old 2020-06-02 13:20:26.000000000 +0000
+++ kdevelop-5.5.2/kdevplatform/cmake/modules/KDevPlatformMacros.cmake 2020-07-19 21:24:00.465219669 +0000
@@ -55,27 +55,12 @@
)
else()
- if(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
add_custom_command(OUTPUT ${_template}
COMMAND tar ARGS -c -C ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName}
--exclude .kdev_ignore --exclude .svn --numeric-owner
-j -f ${_template} .
DEPENDS ${_deps}
)
- else()
- set(extraArgs "")
- if(DEFINED ENV{SOURCE_DATE_EPOCH})
- # We assume there is tar > 1.28 if a reproducible build is wanted.
- set(extraArgs --mtime="@$ENV{SOURCE_DATE_EPOCH}" --sort=name
- --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime)
- endif()
- add_custom_command(OUTPUT ${_template}
- COMMAND tar ARGS -c -C ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName}
- --exclude .kdev_ignore --exclude .svn --mode=go=rX,u+rw,a-s
- --owner=0 --group=0 --numeric-owner -j -f ${_template} ${extraArgs} .
- DEPENDS ${_deps}
- )
- endif()
endif()
|