build: CXXFLAGS with depends #18092

issue hebasto openend this issue on February 7, 2020
  1. hebasto commented at 12:27 pm on February 7, 2020: member

    If the configure script is provided with depends, it drops WARN_CXXFLAGS:

     0$ CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure
     1...
     2  CC            = gcc -m64
     3  CFLAGS        = -pipe -O2
     4  CPPFLAGS      =   -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I/home/hebasto/bitcoin/depends/x86_64-pc-linux-gnu/share/../include/  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
     5  CXX           = g++ -m64 -std=c++11
     6  CXXFLAGS      =   -fstack-reuse=none -Wstack-protector -fstack-protector-all     -pipe -O2
     7  LDFLAGS       = -pthread  -Wl,-z,relro -Wl,-z,now -pie  -L/home/hebasto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib
     8  ARFLAGS       = cr
     9
    10$ ./configure
    11...
    12  CC            = gcc
    13  CFLAGS        = -g -O2
    14  CPPFLAGS      =   -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
    15  CXX           = g++ -std=c++11
    16  CXXFLAGS      =   -fstack-reuse=none -Wstack-protector -fstack-protector-all  -Wall -Wextra -Wformat -Wvla -Wswitch -Wformat-security -Wredundant-decls -Wunused-variable -Wdate-time  -Wno-unused-parameter -Wno-implicit-fallthrough   -g -O2
    17  LDFLAGS       = -pthread  -Wl,-z,relro -Wl,-z,now -pie
    18  ARFLAGS       = cr
    

    If this done intentionally, what are the reasons for that?

    Or is it just a bug?

  2. fanquake added the label Build system on Feb 7, 2020
  3. fanquake referenced this in commit d11eed0cc1 on Aug 15, 2022
  4. fanquake referenced this in commit 760953ffbe on Sep 1, 2022
  5. fanquake referenced this in commit d5efac340e on Sep 14, 2022
  6. fanquake referenced this in commit 0d813df8bb on Oct 4, 2022
  7. fanquake referenced this in commit 0269c90d60 on Dec 12, 2022
  8. fanquake referenced this in commit 6718a6af88 on Jan 24, 2023
  9. hebasto referenced this in commit 4200ba04b7 on Jan 24, 2023
  10. fanquake referenced this in commit e9b71a641e on Jan 26, 2023
  11. fanquake referenced this in commit 15c804d551 on Feb 1, 2023
  12. fanquake referenced this in commit 1b7138ad27 on Feb 2, 2023
  13. fanquake referenced this in commit aec7586766 on Feb 28, 2023
  14. fanquake referenced this in commit f2cfe9e424 on Mar 17, 2023
  15. fanquake referenced this in commit d5268b2fe4 on Mar 31, 2023
  16. fanquake referenced this in commit aaf7583151 on Apr 3, 2023
  17. fanquake referenced this in commit f8961b4aab on Apr 20, 2023
  18. fanquake referenced this in commit 732c473653 on May 2, 2023
  19. fanquake referenced this in commit 86b94966db on May 17, 2023
  20. fanquake referenced this in commit 7cfe2ce535 on Jun 2, 2023
  21. fanquake referenced this in commit fe4a846457 on Jun 15, 2023
  22. fanquake referenced this in commit faa4eb3308 on Jun 15, 2023
  23. fanquake referenced this in commit be0bfc1b63 on Jun 16, 2023
  24. fanquake referenced this in commit 357415de80 on Jun 17, 2023
  25. fanquake referenced this in commit 3a8149569c on Jun 17, 2023
  26. fanquake referenced this in commit 9f266a6551 on Jun 28, 2023
  27. fanquake referenced this in commit 6dfcf38233 on Jul 27, 2023
  28. fanquake referenced this in commit aec51b9221 on Aug 3, 2023
  29. fanquake referenced this in commit 4d93d294d7 on Aug 7, 2023
  30. fanquake referenced this in commit badf86f1d4 on Aug 23, 2023
  31. fanquake referenced this in commit 3043536a86 on Aug 30, 2023
  32. fanquake referenced this in commit 0bdfa5e27c on Sep 7, 2023
  33. fanquake referenced this in commit 6982a40df0 on Sep 12, 2023
  34. fanquake referenced this in commit bf5bee9bce on Sep 12, 2023
  35. fanquake referenced this in commit 134bcef93f on Sep 20, 2023
  36. fanquake referenced this in commit 7a5ac7eb1e on Sep 26, 2023
  37. fanquake referenced this in commit ef94d73804 on Sep 26, 2023
  38. fanquake referenced this in commit ce5432a977 on Oct 2, 2023
  39. fanquake referenced this in commit 51d3e71e49 on Oct 4, 2023
  40. fanquake referenced this in commit 1414eaba65 on Oct 13, 2023
  41. fanquake referenced this in commit 69a61dda7f on Oct 30, 2023
  42. fanquake referenced this in commit 178ef821be on Nov 3, 2023
  43. fanquake referenced this in commit 9c5655367b on Nov 8, 2023
  44. fanquake referenced this in commit e50090a019 on Nov 13, 2023
  45. fanquake referenced this in commit 357741b7fb on Nov 16, 2023
  46. fanquake referenced this in commit 9af1e010a3 on Nov 22, 2023
  47. fanquake referenced this in commit 9d57dc8be7 on Nov 28, 2023
  48. fanquake referenced this in commit 84b92130ef on Dec 7, 2023
  49. fanquake referenced this in commit 798af032f3 on Dec 8, 2023
  50. fanquake referenced this in commit a99dca946a on Dec 11, 2023
  51. fanquake referenced this in commit 0512db8c2e on Dec 22, 2023
  52. fanquake referenced this in commit 45444d0ee2 on Jan 15, 2024
  53. fanquake referenced this in commit a5e4f0851a on Feb 20, 2024
  54. fanquake referenced this in commit b0d0cc620b on Feb 28, 2024
  55. fanquake referenced this in commit a265c80fda on Mar 14, 2024
  56. fanquake referenced this in commit 4503ec7e80 on Mar 14, 2024
  57. fanquake referenced this in commit 74bc4d9ec6 on Mar 18, 2024
  58. fanquake referenced this in commit f87fbe7082 on Mar 19, 2024
  59. fanquake referenced this in commit ddf6a6591c on Mar 20, 2024
  60. fanquake referenced this in commit ab1c3397de on Mar 26, 2024
  61. fanquake referenced this in commit c6948010d9 on Apr 1, 2024
  62. fanquake referenced this in commit 8d2622f96f on Apr 6, 2024
  63. fanquake referenced this in commit 5d0e3aafeb on Apr 10, 2024
  64. fanquake referenced this in commit ac9cbdf061 on Apr 14, 2024
  65. fanquake referenced this in commit b7a50b74ff on Apr 25, 2024
  66. fanquake referenced this in commit a6bc1ab888 on Apr 26, 2024
  67. fanquake referenced this in commit 235e341c44 on Apr 29, 2024
  68. fanquake referenced this in commit 23cafc1432 on May 2, 2024
  69. fanquake referenced this in commit d8688e79d1 on May 2, 2024
  70. fanquake referenced this in commit 623228b199 on May 2, 2024
  71. fanquake referenced this in commit f0e22be69a on May 3, 2024
  72. fanquake closed this on May 4, 2024

  73. fanquake referenced this in commit bd597c33e3 on May 4, 2024


hebasto

Labels
Build system


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me