-
-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid recompiling multiple files if only the hash changes
Signed-off-by: DL6ER <[email protected]>
- Loading branch information
Showing
10 changed files
with
112 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* Pi-hole: A black hole for Internet advertisements | ||
* (c) 2025 Pi-hole, LLC (https://pi-hole.net) | ||
* Network-wide ad blocking via your own hardware. | ||
* | ||
* FTL Engine | ||
* Version-related hard-coded strings | ||
* | ||
* This file is copyright under the latest version of the EUPL. | ||
* Please see LICENSE file for your rights under this license. */ | ||
|
||
#include "version.h" | ||
|
||
const char * __attribute__ ((const)) git_version(void) | ||
{ | ||
return "v5.25.2-2601-g8fe4ecd0-dirty"; | ||
} | ||
|
||
const char * __attribute__ ((const)) git_date(void) | ||
{ | ||
return "2025-02-06 06:07:12 +0100"; | ||
} | ||
const char * __attribute__ ((const)) git_branch(void) | ||
{ | ||
return "update/dnsmasq"; | ||
} | ||
const char * __attribute__ ((const)) git_tag(void) | ||
{ | ||
return "v5.25.2"; | ||
} | ||
|
||
const char * __attribute__ ((const)) git_hash(void) | ||
{ | ||
return "8fe4ecd0-dirty"; | ||
} | ||
|
||
const char * __attribute__ ((const)) ftl_arch(void) | ||
{ | ||
return "x86_64 (compiled locally)"; | ||
} | ||
|
||
const char * __attribute__ ((const)) ftl_cc(void) | ||
{ | ||
return "cc (Alpine 14.2.0) 14.2.0"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* Pi-hole: A black hole for Internet advertisements | ||
* (c) 2025 Pi-hole, LLC (https://pi-hole.net) | ||
* Network-wide ad blocking via your own hardware. | ||
* | ||
* FTL Engine | ||
* Version-related hard-coded strings | ||
* | ||
* This file is copyright under the latest version of the EUPL. | ||
* Please see LICENSE file for your rights under this license. */ | ||
|
||
#include "version.h" | ||
|
||
const char * __attribute__ ((const)) git_version(void) | ||
{ | ||
return "@GIT_VERSION@"; | ||
} | ||
|
||
const char * __attribute__ ((const)) git_date(void) | ||
{ | ||
return "@GIT_DATE@"; | ||
} | ||
const char * __attribute__ ((const)) git_branch(void) | ||
{ | ||
return "@GIT_BRANCH@"; | ||
} | ||
const char * __attribute__ ((const)) git_tag(void) | ||
{ | ||
return "@GIT_TAG@"; | ||
} | ||
|
||
const char * __attribute__ ((const)) git_hash(void) | ||
{ | ||
return "@GIT_HASH@"; | ||
} | ||
|
||
const char * __attribute__ ((const)) ftl_arch(void) | ||
{ | ||
return "@FTL_ARCH@"; | ||
} | ||
|
||
const char * __attribute__ ((const)) ftl_cc(void) | ||
{ | ||
return "@FTL_CC@"; | ||
} |
This file was deleted.
Oops, something went wrong.