File: omit_flags_in_binary.patch

package info (click to toggle)
atomes 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,328 kB
  • sloc: ansic: 159,329; f90: 13,321; sh: 4,561; makefile: 482; xml: 292
file content (22 lines) | stat: -rw-r--r-- 787 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: removing FLAGS from the contents of the built executable file in
 order to enhance build reproducibility. Otherwise the build path would be
 shipped inside /usr/bin/atomes.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2024-03-20

--- a/src/gui/main.c
+++ b/src/gui/main.c
@@ -224,10 +224,10 @@
   }
   printf ("OpenMP version         : %1.1f (%s)\n", v, v_string);
 #endif
-  printf ("FC    Compiler         : %s\n", FC);
+  /*printf ("FC    Compiler         : %s\n", FC);
   printf ("FC    Compiler flags   : %s\n", FCFLAGS);
   printf ("C     Compiler         : %s\n", CC);
-  printf ("C     Compiler flags   : %s\n", CFLAGS);
+  printf ("C     Compiler flags   : %s\n", CFLAGS);*/
 
   printf ("%s", bug);
   printf ("%s", PACKAGE_BUGREPORT);