mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1012 B

  1. Search for spec file in multlib dirs.
  2. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26165 and
  3. http://gcc.gnu.org/viewcvs?view=rev&revision=139031 .
  4. This fixes e.g. this gettext error for 64-bit x86_64 (configured with --disable-multilib):
  5. x86_64-unknown-linux-gnu-gcc -fopenmp -g -O2 -o .libs/msgmerge msgmerge-msgmerge.o msgmerge-msgl-fsearch.o msgmerge-plural-count.o -fopenmp ./.libs/libgettextsrc.so /usr/src/rock-trunk/src.gettext.1223441176.26143.1546936599/gettext-0.16.1/gettext-tools/gnulib-lib/.libs/libgettextlib.so -lc -lm -Wl,--rpath -Wl,/usr/lib64
  6. x86_64-unknown-linux-gnu-gcc: libgomp.spec: No such file or directory
  7. --- gcc-4.3.1/gcc/gcc.c 2008-03-02 23:55:19.000000000 +0100
  8. +++ gcc-4.3.1/gcc/gcc.c.new 2008-10-08 15:22:32.000000000 +0200
  9. @@ -7949,7 +7949,7 @@
  10. if (argc != 1)
  11. abort ();
  12. - file = find_a_file (&startfile_prefixes, argv[0], R_OK, 0);
  13. + file = find_a_file (&startfile_prefixes, argv[0], R_OK, true);
  14. read_specs (file ? file : argv[0], FALSE);
  15. return NULL;