Makefile.am 1.2 KB

12345678910111213141516171819202122232425262728
  1. # Copyright (C) 2019-2022 Free Software Foundation, Inc.
  2. # This file is part of GDB.
  3. # This program is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 3 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. # The toplevel makefile overrides $(CC) (in EXTRA_HOST_FLAGS) by setting
  16. # it to whatever CC was in the toplevel configure. This breaks in Gnulib with
  17. # older GCCs, because Gnulib's configure uses this variable to store the
  18. # standard-setting switch (e.g. -std=gnu99/-std=gnu11). To fix this, we just
  19. # set MAKEOVERRIDES to empty here so that import/ uses the right $(CC).
  20. #
  21. # This problem is visible with compilers that don't use C99 by default, such
  22. # as GCC 4.8.5 (Centos 7).
  23. MAKEOVERRIDES =
  24. SUBDIRS = import