summaryrefslogtreecommitdiffstats
path: root/tools/gccld/gccld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gccld/gccld.cpp')
-rw-r--r--tools/gccld/gccld.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index 41c176f..7f10fc5 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -329,11 +329,11 @@ int main(int argc, char **argv, char **envp) {
}
// Make the script executable...
- MakeFileExecutable(OutputFilename);
+ sys::Path(OutputFilename).makeExecutable();
// Make the bytecode file readable and directly executable in LLEE as well
- MakeFileExecutable(RealBytecodeOutput);
- MakeFileReadable(RealBytecodeOutput);
+ sys::Path(RealBytecodeOutput).makeExecutable();
+ sys::Path(RealBytecodeOutput).makeReadable();
}
} catch (const char*msg) {
std::cerr << argv[0] << ": " << msg << "\n";