Commit 7ac03695 authored by Anthony Martin's avatar Anthony Martin Committed by Russ Cox

build: remove unnecessary pragmas

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5629055
parent 39611ec8
...@@ -10,9 +10,6 @@ enum ...@@ -10,9 +10,6 @@ enum
Runemax = 0x10FFFF, /* maximum rune value */ Runemax = 0x10FFFF, /* maximum rune value */
}; };
#pragma src "/sys/src/go/src/lib9"
#pragma lib "/sys/src/go/lib/$M/lib9.a"
char* getgoos(void); char* getgoos(void);
char* getgoarch(void); char* getgoarch(void);
char* getgoroot(void); char* getgoroot(void);
......
...@@ -2,6 +2,4 @@ ...@@ -2,6 +2,4 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#pragma src "/sys/src/go/src/libmach"
#pragma lib "/sys/src/go/lib/$M/libmach.a"
#include "../mach.h" #include "../mach.h"
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
#include <libc.h> #include <libc.h>
#include <bio.h> #include <bio.h>
#pragma lib "../cc/cc.a$O"
#ifndef EXTERN #ifndef EXTERN
#define EXTERN extern #define EXTERN extern
#endif #endif
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
#include <bio.h> #include <bio.h>
#pragma lib "../gc/gc.a$O"
#undef OAPPEND #undef OAPPEND
// avoid <ctype.h> // avoid <ctype.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment