Explorar el Código

fix checking inlines when some inline is the prefix of a non-inline function

Samuel Thibault hace 8 años
padre
commit
d25533b0b9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Makefile.am

+ 1 - 1
src/Makefile.am

@@ -395,7 +395,7 @@ dist-hook:
 	failed=0 ; \
 	for i in $$( grep "static inline" $$(find $(srcdir) -name \*.h) | sed -e 's/.*static inline //g' | grep -v ENAME | sed -e 's/[^(]* \(\|\*\)\([^ (]*\)(.*/\2/' | grep -v _starpu_spin_init) ; do \
 		for j in .libs/*.o ; do \
-			nm $$j | grep "U $$i" && { echo $$j ; failed=1 ; } ; \
+			nm $$j | grep "U $$i$$" && { echo $$j ; failed=1 ; } ; \
 		done ; \
 	done ; \
 	[ $$failed == 0 ]