Просмотр исходного кода

* Don't use -march=486

svn: 1477
Bryan Drewery 21 лет назад
Родитель
Сommit
20b1258be5
2 измененных файлов с 6 добавлено и 6 удалено
  1. 1 1
      Makefile.in
  2. 5 5
      src/binary.c

+ 1 - 1
Makefile.in

@@ -23,7 +23,7 @@ EXCLUDES = pack/pack.cfg misc/ind doc/DEVEL src/Makefile src/compat/Makefile src
            misc/plainh misc/grep misc/cp.sh
 
 # defaults
-CXX = @DISTCC@ @CXX@ -march=i486
+CXX = @DISTCC@ @CXX@
 LD = @DISTCC@ @CXX@
 CCDEBUG = @DISTCC@ @CCDEBUG@
 LDDEBUG = @DISTCC@ @CCDEBUG@

+ 5 - 5
src/binary.c

@@ -262,7 +262,7 @@ static void edpack(settings_t *incfg, const char *hash, int what)
 #undef dofield
 }
 
-/* 
+ 
 static void
 tellconfig(settings_t *incfg)
 {
@@ -292,7 +292,7 @@ tellconfig(settings_t *incfg)
   dofield(incfg->portmax);
 #undef dofield
 }
-*/
+
 
 void
 check_sum(const char *fname, const char *cfgfile)
@@ -308,16 +308,16 @@ check_sum(const char *fname, const char *cfgfile)
 
     readcfg(cfgfile);
 
-/* tellconfig(&settings); */
+ tellconfig(&settings); 
     if (bin_md5(fname, WRITE_MD5, &ctx))
       printf("* Wrote settings to binary.\n"); 
     exit(0);
   } else {
     char *hash = bin_md5(fname, GET_MD5, &ctx);
 
-/* tellconfig(&settings); */
+ tellconfig(&settings); 
     edpack(&settings, hash, PACK_DEC);
-/* tellconfig(&settings); */
+ tellconfig(&settings); 
 
     if (strcmp(settings.hash, hash)) {
       unlink(fname);