removed .gcda profiling info from objects list
This commit is contained in:
@@ -226,7 +226,7 @@ function pack_static_lib {
|
||||
local outfile="$1"
|
||||
myprint "${BLUE}outfile: ${GRAY}$outfile"
|
||||
|
||||
local objects=$(find $OBJDIR/objects -type f,l | tr '\n' ' ')
|
||||
local objects=$(find $OBJDIR/objects \( -name "*.o" -o -name "*.a" \) -type f,l | tr '\n' ' ')
|
||||
myprint "${BLUE}objects: ${GRAY}$objects"
|
||||
if [ -z "$objects" ]; then
|
||||
error "no compiled objects found"
|
||||
@@ -252,7 +252,7 @@ function link {
|
||||
myprint "${BLUE}args: ${GRAY}$args"
|
||||
myprint "${BLUE}outfile: ${GRAY}$outfile"
|
||||
|
||||
local objects=$(find $OBJDIR/objects -type f,l | tr '\n' ' ')
|
||||
local objects=$(find $OBJDIR/objects \( -name "*.o" -o -name "*.a" \) -type f,l | tr '\n' ' ')
|
||||
myprint "${BLUE}objects: ${GRAY}$objects"
|
||||
if [ -z "$objects" ]; then
|
||||
error "no compiled objects found"
|
||||
|
||||
Reference in New Issue
Block a user